added "dire" mode to warning dialog and use it with license erase db
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
<template v-if="options.type == 'error'">
|
||||
<v-icon large color="error">$ayiExclamationTriangle</v-icon>
|
||||
</template>
|
||||
<template v-if="options.type == 'dire'">
|
||||
<v-icon large color="error">$ayiSkullCrossbones</v-icon>
|
||||
</template>
|
||||
<span v-if="options.title" class="ml-5"> {{ options.title }} </span>
|
||||
</v-card-title>
|
||||
<!-- eslint-disable vue/no-v-html -->
|
||||
@@ -52,7 +55,21 @@
|
||||
@click.native="cancel"
|
||||
>{{ options.noButtonText }}</v-btn
|
||||
>
|
||||
|
||||
<v-btn
|
||||
v-if="options.type == 'dire'"
|
||||
class="ml-4"
|
||||
color="error"
|
||||
data-cy="gzconfirm:yesbutton"
|
||||
@click.native="agree"
|
||||
>
|
||||
<v-icon left>$ayiSkullCrossbones</v-icon
|
||||
>{{ options.yesButtonText }}
|
||||
<v-icon right>$ayiSkullCrossbones</v-icon></v-btn
|
||||
>
|
||||
|
||||
<v-btn
|
||||
v-else
|
||||
color="primary"
|
||||
text
|
||||
data-cy="gzconfirm:yesbutton"
|
||||
|
||||
Reference in New Issue
Block a user