Skip to content

Commit

Permalink
fix(ui): show text overlay list data (#3407)
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Mar 20, 2020
1 parent c8495a8 commit 3ecda11
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -116,7 +116,10 @@ export default class textOverlayList extends Vue {
created() {
this.state.loaded = false;
this.socket.emit('text::getAll', (items) => {
this.socket.emit('text::getAll', (err, items) => {
if (err) {
return console.error(err)
}
this.items = orderBy(items, 'name', 'asc')
this.items.map(o => { o.show = 'html'; return o })
this.state.loaded = true;
Expand Down

0 comments on commit 3ecda11

Please sign in to comment.