Show current action
This commit is contained in:
parent
bfacfbf2fa
commit
bcfb52cb98
@ -1,8 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="task-list">
|
<section class="task-list">
|
||||||
<p class="summary">
|
<p class="summary">
|
||||||
Task count: {{ shared.taskList.length }}
|
Task count: {{ shared.taskList.length
|
||||||
<template v-if="actionCount">, actions left {{ actionCount }}</template>
|
}}<!--
|
||||||
|
--><template v-if="actionCount">, actions left {{ actionCount }}</template
|
||||||
|
><!--
|
||||||
|
--><template v-if="currentAction">, {{ currentAction.name }}</template>
|
||||||
</p>
|
</p>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<table class="task-table">
|
<table class="task-table">
|
||||||
@ -34,6 +37,9 @@ export default {
|
|||||||
actionCount() {
|
actionCount() {
|
||||||
return this.shared.actionList.length;
|
return this.shared.actionList.length;
|
||||||
},
|
},
|
||||||
|
currentAction() {
|
||||||
|
return this.shared.actionList.find(() => true);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
formatDate(ts) {
|
formatDate(ts) {
|
||||||
|
Loading…
Reference in New Issue
Block a user