adding tagsStore to post, put for app

main
HerrHase 2 years ago
parent 0cc0b83525
commit a57724e43a

@ -8,6 +8,7 @@
*/ */
import AppsDatabase from './../database/apps.js' import AppsDatabase from './../database/apps.js'
import tagsStore from './../stores/tags.js'
import observable from '@riotjs/observable' import observable from '@riotjs/observable'
export default observable({ export default observable({
@ -54,6 +55,7 @@ export default observable({
appsDatabase.create(data).then((data) => { appsDatabase.create(data).then((data) => {
this.trigger('success', data) this.trigger('success', data)
tagsStore.get()
}) })
}, },
@ -68,6 +70,7 @@ export default observable({
appsDatabase.update(data).then((data) => { appsDatabase.update(data).then((data) => {
this.trigger('success', data) this.trigger('success', data)
tagsStore.get()
}) })
}, },

Loading…
Cancel
Save