Fix toggling priority in details view

This commit is contained in:
Raimund Schlüßler 2019-01-03 20:56:22 +01:00
parent 53e07a3942
commit 6648a675ab
No known key found for this signature in database
GPG key ID: 036FA7EB1A599178

View file

@ -34,7 +34,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
>
<span :class="{'icon-checkmark': task.completed, 'disabled': task.calendar.readOnly}" class="icon icon-bw detail-checkbox" />
</a>
<a class="star reactive" @click="toggleStarred(task.uri)">
<a class="star reactive" @click="toggleStarred(task)">
<span :class="[{'disabled': task.calendar.readOnly}, iconStar]"
class="icon"
/>