Updating hub firm resource path

This commit is contained in:
2025-04-17 23:39:24 +02:00
parent 13c5e078a8
commit 654cf34c74
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ export const CreateFirm = () => {
return (
<CrudForm
schemaName={"FirmCreate"}
resource={"firms"}
resource={"hub/users/firms/"}
onSuccess={() => { refreshUser() }}
/>
)

View File

@@ -192,7 +192,7 @@ export function empty_user() {
function findGetParameter(parameterName: string) {
let result = null, tmp = [];
location.search.substr(1).split("&")
location.search.substring(1).split("&")
.forEach(function (item) {
tmp = item.split("=");
if (tmp[0] === parameterName) result = decodeURIComponent(tmp[1]);