Browse Source

Fix icon for status selection

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
pull/655/head
Raimund Schlüßler 1 month ago
parent
commit
6ea98c37de
No account linked to committer's email address
3 changed files with 10 additions and 2 deletions
  1. 2
    1
      css/src/style.scss
  2. 0
    0
      img/src/color/status.svg
  3. 8
    1
      src/components/TheDetails.vue

+ 2
- 1
css/src/style.scss View File

@@ -881,7 +881,8 @@
right: 22px;
}

&.icon-privacy {
&.icon-privacy,
&.icon-status {
opacity: 1;
cursor: unset;
}

img/src/color/current.svg → img/src/color/status.svg View File


+ 8
- 1
src/components/TheDetails.vue View File

@@ -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',

Loading…
Cancel
Save