adding tagsStore to post, put for app

main
HerrHase 2 years ago
parent 0cc0b83525
commit a57724e43a

@ -66,7 +66,7 @@ class TagsDatabase extends DatabaseHandler {
* find apps
*
*
* @return
* @return
*
*/
find() {

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

Loading…
Cancel
Save