Skip to content

Commit

Permalink
fix: tags permissions error message (apache#25516)
Browse files Browse the repository at this point in the history
  • Loading branch information
Khrol authored Oct 4, 2023
1 parent 1fb2c62 commit 50b0816
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 50b0816

Please sign in to comment.