refactor: refs #7354 changed icon color in table and notification when deleting a zone
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
8903aabddf
commit
709f434e5d
|
@ -30,11 +30,6 @@ const actions = {
|
||||||
await axios.post(`Zones/${zoneId}/deleteZone`);
|
await axios.post(`Zones/${zoneId}/deleteZone`);
|
||||||
|
|
||||||
notify({ message: t('Zone deleted'), type: 'positive' });
|
notify({ message: t('Zone deleted'), type: 'positive' });
|
||||||
notify({
|
|
||||||
message: t('You can undo this action within the first hour'),
|
|
||||||
icon: 'info',
|
|
||||||
});
|
|
||||||
|
|
||||||
push({ name: 'ZoneList' });
|
push({ name: 'ZoneList' });
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
notify({ message: e.message, type: 'negative' });
|
notify({ message: e.message, type: 'negative' });
|
||||||
|
|
|
@ -106,6 +106,7 @@ const columns = computed(() => [
|
||||||
title: t('list.zoneSummary'),
|
title: t('list.zoneSummary'),
|
||||||
icon: 'preview',
|
icon: 'preview',
|
||||||
action: (row) => viewSummary(row.id, ZoneSummary),
|
action: (row) => viewSummary(row.id, ZoneSummary),
|
||||||
|
isPrimary: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('globals.clone'),
|
title: t('globals.clone'),
|
||||||
|
|
Loading…
Reference in New Issue