diff --git a/routes/_actions/instances.js b/routes/_actions/instances.js index 6b22c11..3c36849 100644 --- a/routes/_actions/instances.js +++ b/routes/_actions/instances.js @@ -23,7 +23,7 @@ export function switchToInstance (instanceName) { currentInstance: instanceName, searchResults: null, queryInSearch: '', - rawInputTextInCompose: '' + rawComposeText: '' }) store.save() switchToTheme(instanceThemes[instanceName]) @@ -47,7 +47,7 @@ export async function logOutOfInstance (instanceName) { currentInstance: newInstance, searchResults: null, queryInSearch: '', - rawInputTextInCompose: '' + rawComposeText: '' }) store.save() toast.say(`Logged out of ${instanceName}`) diff --git a/routes/_components/compose/ComposeButton.html b/routes/_components/compose/ComposeButton.html index c77f7a0..4c0d26b 100644 --- a/routes/_components/compose/ComposeButton.html +++ b/routes/_components/compose/ComposeButton.html @@ -16,8 +16,8 @@ export default { store: () => store, computed: { - disabled: ($rawInputTextInComposeOverLimit, $rawInputTextInComposeLength) => { - return $rawInputTextInComposeOverLimit || $rawInputTextInComposeLength === 0 + disabled: ($rawComposeTextOverLimit, $rawComposeTextLength) => { + return $rawComposeTextOverLimit || $rawComposeTextLength === 0 } } } diff --git a/routes/_components/compose/ComposeInput.html b/routes/_components/compose/ComposeInput.html index d48b4fa..3836037 100644 --- a/routes/_components/compose/ComposeInput.html +++ b/routes/_components/compose/ComposeInput.html @@ -2,7 +2,7 @@ class="compose-box-input" placeholder="What's on your mind?" ref:textarea - bind:value=$rawInputTextInCompose + bind:value=$rawComposeText >