Skip to content

Commit ff98cfc

Browse files
committed
fix(actions-builder.tpl.html): resolve change in precednce on v-if on v(for since vuejs3
1 parent c5d3522 commit ff98cfc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/aceditor/presentation/templates/actions-builder.tpl.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ <h2 class="modal-title">{{ actionGroup.label }}</h2>
2121
<div class="form-group" v-show="Object.keys(this.actions).length > 1">
2222
<label class="control-label">{{ isBazarListeAction ? '<?php echo _t('ACTION_BUILDER_CHOOSE_TEMPLATE'); ?>' : '<?php echo _t('ACTION_BUILDER_CHOOSE_ACTION'); ?>' }}</label>
2323
<select v-model="selectedActionId" required class="form-control">
24-
<option v-for="(action, actionId) in actions" v-if="action.label" :value="actionId">{{ action.label }}</option>
24+
<template v-for="(action, actionId) in actions" :key="action">
25+
<option v-if="action.label" :value="actionId">{{ action.label }}</option>
26+
</template>
2527
</select>
2628
</div>
2729

0 commit comments

Comments
 (0)