[#160] Make success indicator more clear
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
142ca55074
commit
d9fe7df6cb
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
:disabled="!content"
|
||||
@click="copy"
|
||||
>
|
||||
<i class="fas fa-clipboard" />
|
||||
<i :class="{'fas fa-fw fa-clipboard': !copyToClipboardSuccess, 'fas fa-fw fa-circle-check': copyToClipboardSuccess}" />
|
||||
</button>
|
||||
</template>
|
||||
<script>
|
||||
|
@ -29,7 +29,7 @@ export default {
|
|||
this.copyToClipboardSuccess = true
|
||||
window.setTimeout(() => {
|
||||
this.copyToClipboardSuccess = false
|
||||
}, 500)
|
||||
}, 1500)
|
||||
})
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue