wip
This commit is contained in:
2
public/js/25.js
vendored
2
public/js/25.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
@@ -231,14 +231,15 @@
|
||||
|
||||
submit() {
|
||||
this.$inertia.post(this.route('sites.store'), this.form, {
|
||||
only: ['errors', 'flash', 'sites']
|
||||
})
|
||||
.then((response) => {
|
||||
only: ['errors', 'flash', 'sites'],
|
||||
onFinish: () => {
|
||||
if (!Object.keys(this.$page.props.errors).length) {
|
||||
this.form.domain = null;
|
||||
this.form.server_id = null;
|
||||
this.modalIsOpen = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
confirmDelete(site) {
|
||||
|
||||
Reference in New Issue
Block a user