Skip to content

Commit

Permalink
fix: tags permissions error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Khrol committed Oct 4, 2023
1 parent 0d0a81c commit 7411c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/components/Tags/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const loadTags = async (
const getErrorMessage = ({ error, message }: ClientErrorObject) => {
let errorText = message || error || t('An error has occurred');
if (message === 'Forbidden') {
errorText = t('You do not have permission to edit this dashboard');
errorText = t('You do not have permission to read tags');
}
return errorText;
};
Expand Down

0 comments on commit 7411c22

Please sign in to comment.