fix(webui): properly set known hash card button initial status

This commit is contained in:
Gauthier Roebroeck 2022-02-10 17:55:05 +08:00
parent c93097d045
commit 17c76de308

View file

@ -67,7 +67,7 @@
<v-card-actions>
<v-btn v-if="hash.action === PageHashAction.DELETE_MANUAL"
:color="deleteRequested ? 'success': 'primary'"
:disabled="matchCount === 0"
:disabled="!matchCount"
@click="deleteMatches"
>
<v-icon left v-if="deleteRequested">mdi-check</v-icon>