fix more svelte undefined warnings (#250)

This commit is contained in:
Nolan Lawson 2018-04-30 19:06:08 -07:00 committed by GitHub
parent 814716cc8d
commit 429df7fbc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View file

@ -51,7 +51,8 @@
},
data: () => ({
loading: true,
accounts: []
accounts: [],
accountActions: void 0
}),
store: () => store,
components: {

View file

@ -157,7 +157,8 @@
isReply: false,
autoFocus: false,
sticky: false,
hideBottomBorder: false
hideBottomBorder: false,
hidden: false
}),
store: () => store,
computed: {

View file

@ -19,6 +19,9 @@
on('postedStatus', this, this.onPostedStatus)
onCreateDialog.call(this)
},
data: () => ({
title: void 0
}),
methods: {
show,
close,

View file

@ -144,7 +144,8 @@
shouldAnimate: !process.browser || document.getElementsByClassName('modal-dialog').length < 2,
fadedIn: false,
muted: false,
className: void 0
className: void 0,
title: void 0
}),
computed: {
backdropClass: (fadedIn, shouldAnimate) => {