|
|
|
@ -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()
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|