Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vuetify dialog #94

Open
netlayersa opened this issue Jan 6, 2020 · 0 comments
Open

Vuetify dialog #94

netlayersa opened this issue Jan 6, 2020 · 0 comments

Comments

@netlayersa
Copy link

When using the Vuetify webpack and working inside a dialog that is using fullscreen hide-overlay transition="dialog-bottom-transition" the dialog is closed when I am using a confirm snotify,

This only seems to happen when I action this.$snotify.remove(toast.id)
Could this be a bug? here is my code snippet.

deleteLocation: function (id) { if (this.$snotify.confirm('Are you sure you want to delete this item?', 'Confirm delete', { closeOnClick: false, buttons: [ {text: 'Yes', action: (toast) => { session.delete(api/v1/system/myorg/locations/${id}/) .then((response) => { this.getLocations(); return response; }) .catch((error) => { console.log(error) }); this.$snotify.remove(toast.id); } }, {text: 'No', action: (toast) => {this.$snotify.remove(toast.id); }, bold: true}, ] }) ); },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant