Feature: Add update trigger for board-creation

This commit is contained in:
winkidney
2019-12-07 17:24:41 +08:00
committed by Isaac Bythewood
parent 68638deeb3
commit e56e315723
3 changed files with 5 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ import noMore from './noMore.vue';
import scroll from './utils/scroll';
import placeholder from '../assets/pinry-placeholder.jpg';
import BoardEditorUI from './editors/BoardEditUI.vue';
import bus from './utils/bus';
function createBoardItem(board) {
const defaultPreviewImage = placeholder;
@@ -194,6 +195,7 @@ export default {
},
},
created() {
bus.bus.$on(bus.events.refreshBoards, this.reset);
this.registerScrollEvent();
this.initialize();
},