mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 22:39:41 +02:00
feat(ui): allow-different-modal-icons EE-3751 (#7299)
* feat(ui): update modal icons EE-3751
This commit is contained in:
parent
bb066cd58c
commit
d574a71cb1
15 changed files with 113 additions and 39 deletions
|
@ -1,5 +1,5 @@
|
|||
import _ from 'lodash-es';
|
||||
import { confirmAsync } from '@/portainer/services/modal.service/confirm';
|
||||
import { confirmDestructiveAsync } from '@/portainer/services/modal.service/confirm';
|
||||
import { EdgeTypes } from '@/portainer/environments/types';
|
||||
import { getEnvironments } from '@/portainer/environments/environment.service';
|
||||
|
||||
|
@ -50,7 +50,7 @@ export class EdgeGroupFormController {
|
|||
|
||||
dissociateEndpoint(endpoint) {
|
||||
return this.$async(async () => {
|
||||
const confirmed = await confirmAsync({
|
||||
const confirmed = await confirmDestructiveAsync({
|
||||
title: 'Confirm action',
|
||||
message: 'Removing the environment from this group will remove its corresponding edge stacks',
|
||||
buttons: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue