Skip to content

Commit

Permalink
fix: input message should not open tip link when it's a post on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
ifaouibadi committed Nov 30, 2022
1 parent 22cbb6c commit 860be5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layout/sendTip/SendTip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
:placeholder="post ?
'Create New Post' :
$t('components.layout.SendTip.SendNewTip')"
@focus="useSdkWallet ? toggleForm() : openTipDeeplink()"
@focus="(useSdkWallet || post) ? toggleForm() : openTipDeeplink()"
/>
</div>
</template>
Expand Down

0 comments on commit 860be5a

Please sign in to comment.