Fix setting a task as favorite button
This commit is contained in:
parent
c4067c7c35
commit
8a08a41a3c
2 changed files with 4 additions and 4 deletions
|
@ -513,8 +513,8 @@
|
|||
"moveList": "Move task",
|
||||
"color": "Set task color",
|
||||
"delete": "Delete task",
|
||||
"favorite": "Make this task as a favorite",
|
||||
"unfavorite": "Don't make this task a favorite"
|
||||
"favorite": "Save as favorite",
|
||||
"unfavorite": "Remove from favorites"
|
||||
}
|
||||
},
|
||||
"attributes": {
|
||||
|
|
|
@ -364,9 +364,9 @@
|
|||
<x-button
|
||||
@click="toggleFavorite"
|
||||
type="secondary"
|
||||
:icon="task.isFavorite ? ['far', 'star'] : 'star'"
|
||||
:icon="task.isFavorite ? 'star' : ['far', 'star']"
|
||||
>
|
||||
{{ task.isFavorite ? $t('task.detail.actions.favorite') : $t('task.detail.actions.unfavorite') }}
|
||||
{{ task.isFavorite ? $t('task.detail.actions.unfavorite') : $t('task.detail.actions.favorite') }}
|
||||
</x-button>
|
||||
<x-button
|
||||
@click="showDeleteModal = true"
|
||||
|
|
Loading…
Reference in a new issue