fix: poll button label is backwards (#1238)

This commit is contained in:
Nolan Lawson 2019-05-27 01:05:55 -07:00 committed by GitHub
parent 6efc28aac8
commit b45868bbfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@
disabled={$uploadingMedia || (media.length === 4)}
/>
<IconButton
label="{poll && poll.options && poll.options.length ? 'Add poll' : 'Remove poll'}"
label="{poll && poll.options && poll.options.length ? 'Remove poll' : 'Add poll'}"
href="#fa-bar-chart"
on:click="onPollClick()"
pressable="true"