Commands and such

This commit is contained in:
Henrique Dias committed 2017-07-12 16:18:13 +01:00
1 parent 45b4ec5a43
commit 729064ffc8
8 files changed
+98 -19

No files matched your search

+2 -1
View File
@@ -94,6 +94,7 @@
regenerate(data, route.path)
.then(() => {
data.buttons.done('publish')
data.store.commit('showSuccess', 'Post published!')
data.store.commit('setReload', true)
})
.catch((error) => {
@@ -209,7 +210,7 @@
schedule(data, route.path, date)
.then(() => {
data.buttons.done('schedule')
data.store.commit('setReload', true)
data.store.commit('showSuccess', 'Post scheduled!')
})
.catch((error) => {
data.buttons.done('schedule')