Change SweetAlert2 type in plugin update alert
This commit is contained in:
parent
5a2c010f3b
commit
9b3eff0f3a
|
|
@ -156,7 +156,7 @@ export default {
|
||||||
async updatePlugin(plugin) {
|
async updatePlugin(plugin) {
|
||||||
const { dismiss } = await swal({
|
const { dismiss } = await swal({
|
||||||
text: this.$t('admin.confirmUpdate', { plugin: plugin.title, old: plugin.installed, new: plugin.version }),
|
text: this.$t('admin.confirmUpdate', { plugin: plugin.title, old: plugin.installed, new: plugin.version }),
|
||||||
type: 'warning',
|
type: 'question',
|
||||||
showCancelButton: true
|
showCancelButton: true
|
||||||
});
|
});
|
||||||
if (dismiss) {
|
if (dismiss) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user