mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 06:26:15 +00:00
Remove counter from 'mes parcours'
This commit is contained in:
parent
861f461bc5
commit
056d5a3f98
@ -23,7 +23,6 @@
|
|||||||
:class="{'active': activeTab === 'MyAccompanyingCourses'}"
|
:class="{'active': activeTab === 'MyAccompanyingCourses'}"
|
||||||
@click="selectTab('MyAccompanyingCourses')">
|
@click="selectTab('MyAccompanyingCourses')">
|
||||||
{{ $t('my_accompanying_courses.tab') }}
|
{{ $t('my_accompanying_courses.tab') }}
|
||||||
<tab-counter :count="state.accompanyingCourses.count"></tab-counter>
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
@ -51,6 +50,14 @@
|
|||||||
<tab-counter :count="state.tasks.alert.count"></tab-counter>
|
<tab-counter :count="state.tasks.alert.count"></tab-counter>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link"
|
||||||
|
:class="{'active': activeTab === 'MyWorkflows'}"
|
||||||
|
@click="selectTab('MyWorkflows')">
|
||||||
|
{{ $t('my_workflows.tab') }}
|
||||||
|
<tab-counter :count="state.workflows.count"></tab-counter>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<li class="nav-item loading ms-auto py-2" v-if="loading">
|
<li class="nav-item loading ms-auto py-2" v-if="loading">
|
||||||
<i class="fa fa-circle-o-notch fa-spin fa-lg text-chill-gray" :title="$t('loading')"></i>
|
<i class="fa fa-circle-o-notch fa-spin fa-lg text-chill-gray" :title="$t('loading')"></i>
|
||||||
</li>
|
</li>
|
||||||
@ -75,6 +82,9 @@
|
|||||||
<my-notifications
|
<my-notifications
|
||||||
v-else-if="activeTab === 'MyNotifications'">
|
v-else-if="activeTab === 'MyNotifications'">
|
||||||
</my-notifications>
|
</my-notifications>
|
||||||
|
<my-workflows
|
||||||
|
v-else-if="activeTab === 'MyWorkflows'">
|
||||||
|
</my-workflows>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -85,6 +95,7 @@ import MyEvaluations from './MyEvaluations';
|
|||||||
import MyTasks from './MyTasks';
|
import MyTasks from './MyTasks';
|
||||||
import MyAccompanyingCourses from './MyAccompanyingCourses';
|
import MyAccompanyingCourses from './MyAccompanyingCourses';
|
||||||
import MyNotifications from './MyNotifications';
|
import MyNotifications from './MyNotifications';
|
||||||
|
import MyWorkflows from './MyWorkflows.vue';
|
||||||
import TabCounter from './TabCounter';
|
import TabCounter from './TabCounter';
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
|
|
||||||
@ -95,6 +106,7 @@ export default {
|
|||||||
MyWorks,
|
MyWorks,
|
||||||
MyEvaluations,
|
MyEvaluations,
|
||||||
MyTasks,
|
MyTasks,
|
||||||
|
MyWorkflows,
|
||||||
MyAccompanyingCourses,
|
MyAccompanyingCourses,
|
||||||
MyNotifications,
|
MyNotifications,
|
||||||
TabCounter,
|
TabCounter,
|
||||||
@ -126,6 +138,7 @@ export default {
|
|||||||
'MyWorks',
|
'MyWorks',
|
||||||
'MyEvaluations',
|
'MyEvaluations',
|
||||||
'MyTasks',
|
'MyTasks',
|
||||||
|
'MyWorkflows',
|
||||||
]) {
|
]) {
|
||||||
this.$store.dispatch('getByTab', { tab: m, param: "countOnly=1" });
|
this.$store.dispatch('getByTab', { tab: m, param: "countOnly=1" });
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user