We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2ec1f3 commit e199678Copy full SHA for e199678
ui/src/views/image/TemplateZones.vue
@@ -181,7 +181,7 @@
181
</a-form-item>
182
<div :span="24" class="action-button">
183
<a-button @click="onCloseModal">{{ $t('label.cancel') }}</a-button>
184
- <a-button type="primary" ref="submit" @click="deleteTemplate">{{ $t('label.ok') }}</a-button>
+ <a-button type="primary" ref="submit" @click="selectedItems.length > 0 ? deleteTemplates() : deleteTemplate(currentRecord)">{{ $t('label.ok') }}</a-button>
185
</div>
186
</a-spin>
187
0 commit comments