Fix typos in error messages, constants, and UI labels
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -253,7 +253,7 @@ export const useAcctMgmtStore = defineStore('acctMgmtStore', {
|
||||
const response = await apiClient.delete(apiDeleteRole);
|
||||
return response.status === 200;
|
||||
} catch (error) {
|
||||
apiError(error, 'Failed to delete a role frome the account.');
|
||||
apiError(error, 'Failed to delete a role from the account.');
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -305,7 +305,7 @@ export const useFilesStore = defineStore('filesStore', {
|
||||
link.click();
|
||||
window.URL.revokeObjectURL(url);
|
||||
} catch(error) {
|
||||
apiError(error, 'Failed to delete.');
|
||||
apiError(error, 'Failed to download.');
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
@@ -125,7 +125,7 @@ export const useLoginStore = defineStore('loginStore', {
|
||||
|
||||
this.userData = response.data;
|
||||
} catch(error) {
|
||||
apiError(error, 'Failed to load the Map.');
|
||||
apiError(error, 'Failed to load user data.');
|
||||
};
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user