workflow: fix some stuffs

This commit is contained in:
Mathieu Jaumotte 2022-01-31 14:17:10 +01:00
parent c14101714c
commit f648a9351b

View File

@ -26,7 +26,7 @@
:title="getPopTitle(step)" :title="getPopTitle(step)"
:data-bs-content="getPopContent(step)"> :data-bs-content="getPopContent(step)">
<i v-if="step.currentStep.text === 'initial'" <i v-if="step.currentStep.name === 'initial'"
class="fa fa-circle me-1 text-chill-yellow"> class="fa fa-circle me-1 text-chill-yellow">
</i> </i>
<i v-if="step.isFreezed" <i v-if="step.isFreezed"
@ -95,7 +95,7 @@ export default {
getPopTitle(step) { getPopTitle(step) {
if (step.transitionPrevious != null) { if (step.transitionPrevious != null) {
let freezed = step.isFreezed ? `<i class="fa fa-snowflake-o fa-sm me-1"></i>` : ``; let freezed = step.isFreezed ? `<i class="fa fa-snowflake-o fa-sm me-1"></i>` : ``;
return `${freezed}${step.transitionPrevious.text}`; // or step.currentStep.text ?? return `${freezed}${step.currentStep.text}`;
} }
}, },
getPopContent(step) { getPopContent(step) {