Skip to content

Commit 3ecda11

Browse files
authored
1 parent c8495a8 commit 3ecda11

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/panel/views/registries/text-overlay/text-overlay-list.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ export default class textOverlayList extends Vue {
116116
117117
created() {
118118
this.state.loaded = false;
119-
this.socket.emit('text::getAll', (items) => {
119+
this.socket.emit('text::getAll', (err, items) => {
120+
if (err) {
121+
return console.error(err)
122+
}
120123
this.items = orderBy(items, 'name', 'asc')
121124
this.items.map(o => { o.show = 'html'; return o })
122125
this.state.loaded = true;

0 commit comments

Comments
 (0)