Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@mailbox.org>2019-10-09 17:46:36 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2019-10-09 17:51:21 +0300
commit6ea98c37de21d4dfb69298558e7be840cb5c9586 (patch)
tree4aeeae721df7ecb571fe4b76c30dbe019aef82ea /src/components/TheDetails.vue
parent7ebb944d41c903be7c8f023dbf6a3f97eedd243f (diff)
Fix icon for status selection
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to 'src/components/TheDetails.vue')
-rw-r--r--src/components/TheDetails.vue9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/TheDetails.vue b/src/components/TheDetails.vue
index fc45fb9a..5affa333 100644
--- a/src/components/TheDetails.vue
+++ b/src/components/TheDetails.vue
@@ -205,7 +205,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<div v-click-outside="() => finishEditing('status')"
@click="editProperty('status')"
>
- <span class="icon icon-color icon-current" />
+ <span :class="[iconStatus]" class="icon" />
<div class="detail-calendar-container">
<Multiselect
:value="statusSelect.find( _ => _.type === task.status )"
@@ -601,6 +601,13 @@ export default {
return 'icon-bw icon-tag'
}
},
+ iconStatus: function() {
+ if (this.task.status) {
+ return 'icon-color icon-status'
+ } else {
+ return 'icon-bw icon-current'
+ }
+ },
...mapGetters({
writableCalendars: 'getSortedWritableCalendars',
task: 'getTaskByRoute',