mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
Remove unimportant console log
This commit is contained in:
parent
3e49d08c5b
commit
d7dc77257c
2 changed files with 0 additions and 2 deletions
|
@ -12,7 +12,6 @@ const groupsURLs = {
|
||||||
};
|
};
|
||||||
|
|
||||||
function deleteErrorText(response) {
|
function deleteErrorText(response) {
|
||||||
console.log(response.data);
|
|
||||||
switch(response.data.detail) {
|
switch(response.data.detail) {
|
||||||
case 'GROUP_WITH_USERS':
|
case 'GROUP_WITH_USERS':
|
||||||
return i18n.t('group.cannot-delete-group-with-users');
|
return i18n.t('group.cannot-delete-group-with-users');
|
||||||
|
|
|
@ -19,7 +19,6 @@ const usersURLs = {
|
||||||
};
|
};
|
||||||
|
|
||||||
function deleteErrorText(response) {
|
function deleteErrorText(response) {
|
||||||
console.log(response.data);
|
|
||||||
switch(response.data.detail) {
|
switch(response.data.detail) {
|
||||||
case 'SUPER_USER':
|
case 'SUPER_USER':
|
||||||
return i18n.t('user.error-cannot-delete-super-user');
|
return i18n.t('user.error-cannot-delete-super-user');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue