Disable upload button instead of removing it from dom.
This commit is contained in:
parent
dd686b563d
commit
cd76512619
@ -15,7 +15,7 @@
|
|||||||
@input="setPendingMessage"
|
@input="setPendingMessage"
|
||||||
@keypress.enter.exact.prevent="onSubmit" />
|
@keypress.enter.exact.prevent="onSubmit" />
|
||||||
<span
|
<span
|
||||||
v-if="this.$root.isConnected && this.$root.isFileUploadEnabled"
|
v-if="this.$root.isFileUploadEnabled"
|
||||||
id="upload-tooltip"
|
id="upload-tooltip"
|
||||||
class="tooltipped tooltipped-w tooltipped-no-touch"
|
class="tooltipped tooltipped-w tooltipped-no-touch"
|
||||||
aria-label="Upload File"
|
aria-label="Upload File"
|
||||||
@ -28,7 +28,8 @@
|
|||||||
<button
|
<button
|
||||||
id="upload"
|
id="upload"
|
||||||
type="button"
|
type="button"
|
||||||
aria-label="Upload file" />
|
aria-label="Upload file"
|
||||||
|
:disabled="!this.$root.isConnected" />
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
id="submit-tooltip"
|
id="submit-tooltip"
|
||||||
|
Loading…
Reference in New Issue
Block a user