license limit modal

This commit is contained in:
SPRINX0\prochazka
2025-05-28 17:37:55 +02:00
parent aff7125914
commit cb50d2838a
3 changed files with 72 additions and 3 deletions

View File

@@ -266,9 +266,9 @@ async function callCloudApiPost(endpoint, body, signinHolder = null) {
},
validateStatus: status => status < 500,
});
const { errorMessage } = resp.data;
const { errorMessage, isLicenseLimit } = resp.data;
if (errorMessage) {
return { apiErrorMessage: errorMessage };
return { apiErrorMessage: errorMessage, apiErrorIsLicenseLimit: isLicenseLimit };
}
return resp.data;
}