Skip to content

Commit

Permalink
fix(chat): fix variable check
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmcg committed May 10, 2022
1 parent 5be4995 commit fce2645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/views/files/upload/Upload.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="file-upload">
<input
:type="editable ? `file` : `hidden`"
:type="recipient ? `file` : `hidden`"
id="quick-upload"
ref="quickUpload"
@change="handleFile"
Expand All @@ -10,7 +10,7 @@
v-if="type == 'quick'"
@click="handleFileClick"
:data-tooltip="$t('global.upload')"
:class="`has-tooltip has-tooltip-top has-tooltip-primary upload-label ${editable ? 'active' : 'inactive'}`"
:class="`has-tooltip has-tooltip-top has-tooltip-primary upload-label ${recipient ? 'active' : 'inactive'}`"
>
<plus-icon size="1.2x" class="control-icon" />
</label>
Expand Down

0 comments on commit fce2645

Please sign in to comment.