From 429df7fbc56e4e9a0ece788bcbce160880800745 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 30 Apr 2018 19:06:08 -0700 Subject: [PATCH] fix more svelte undefined warnings (#250) --- routes/_components/AccountsListPage.html | 3 ++- routes/_components/compose/ComposeBox.html | 3 ++- routes/_components/dialog/components/ComposeDialog.html | 3 +++ routes/_components/dialog/components/ModalDialog.html | 3 ++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/routes/_components/AccountsListPage.html b/routes/_components/AccountsListPage.html index c969e850..edb60aea 100644 --- a/routes/_components/AccountsListPage.html +++ b/routes/_components/AccountsListPage.html @@ -51,7 +51,8 @@ }, data: () => ({ loading: true, - accounts: [] + accounts: [], + accountActions: void 0 }), store: () => store, components: { diff --git a/routes/_components/compose/ComposeBox.html b/routes/_components/compose/ComposeBox.html index e92717f2..9921102b 100644 --- a/routes/_components/compose/ComposeBox.html +++ b/routes/_components/compose/ComposeBox.html @@ -157,7 +157,8 @@ isReply: false, autoFocus: false, sticky: false, - hideBottomBorder: false + hideBottomBorder: false, + hidden: false }), store: () => store, computed: { diff --git a/routes/_components/dialog/components/ComposeDialog.html b/routes/_components/dialog/components/ComposeDialog.html index 54750769..e0eebf82 100644 --- a/routes/_components/dialog/components/ComposeDialog.html +++ b/routes/_components/dialog/components/ComposeDialog.html @@ -19,6 +19,9 @@ on('postedStatus', this, this.onPostedStatus) onCreateDialog.call(this) }, + data: () => ({ + title: void 0 + }), methods: { show, close, diff --git a/routes/_components/dialog/components/ModalDialog.html b/routes/_components/dialog/components/ModalDialog.html index a23f1951..a2e51b41 100644 --- a/routes/_components/dialog/components/ModalDialog.html +++ b/routes/_components/dialog/components/ModalDialog.html @@ -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) => {