fix popover header on vue ListWorkflow breadcrumb

This commit is contained in:
Mathieu Jaumotte 2022-02-01 15:51:42 +01:00
parent 2f5fecf414
commit 2bb718f3ea
2 changed files with 8 additions and 7 deletions

View File

@ -62,27 +62,27 @@ const store = createStore({
},
mutations: {
addWorks(state, works) {
console.log('addWorks', works);
//console.log('addWorks', works);
state.works = works;
},
addEvaluations(state, evaluations) {
console.log('addEvaluations', evaluations);
//console.log('addEvaluations', evaluations);
state.evaluations = evaluations;
},
addTasksWarning(state, tasks) {
console.log('addTasksWarning', tasks);
//console.log('addTasksWarning', tasks);
state.tasks.warning = tasks;
},
addTasksAlert(state, tasks) {
console.log('addTasksAlert', tasks);
//console.log('addTasksAlert', tasks);
state.tasks.alert = tasks;
},
addCourses(state, courses) {
console.log('addCourses', courses);
//console.log('addCourses', courses);
state.accompanyingCourses = courses;
},
addNotifications(state, notifications) {
console.log('addNotifications', notifications);
//console.log('addNotifications', notifications);
state.notifications = notifications;
},
setLoading(state, bool) {

View File

@ -93,8 +93,9 @@ export default {
},
getPopTitle(step) {
if (step.transitionPrevious != null) {
//console.log(step.transitionPrevious.text);
let freezed = step.isFreezed ? `<i class="fa fa-snowflake-o fa-sm me-1"></i>` : ``;
return `${freezed}${step.currentStep.text}`;
return `${freezed}${step.transitionPrevious.text}`;
}
},
getPopContent(step) {