[plugins-functionality | DONE | CHANGED ] Better check for deleting custom plugins, Show custom plugin title instead of template

This commit is contained in:
argirok 2024-06-04 12:56:24 +03:00
parent 04a3916389
commit 1676a080c5
1 changed files with 4 additions and 2 deletions

View File

@ -82,7 +82,9 @@
<div class="uk-card-body uk-flex">
<div class="uk-width-expand uk-text-small">
<ng-container *ngIf="pluginGroup.template && !templateView">
<h6>{{pluginGroup.template.name}}</h6>
<h6 *ngIf="!(pluginGroup.plugin.custom && pluginGroup.template.custom)">{{pluginGroup.template.name}}</h6>
<h6 *ngIf="pluginGroup.plugin.custom && pluginGroup.template.custom">{{pluginGroup.plugin.object && pluginGroup.plugin.object.title?pluginGroup.plugin.object.title:pluginGroup.template.name}}</h6>
<div class="uk-margin-small-bottom">
{{pluginGroup.template.description}}
</div>
@ -134,7 +136,7 @@
</button>
</div>
</div>-->
<div *ngIf="pluginGroup.plugin.custom">
<div *ngIf="pluginGroup.plugin.custom && pluginGroup.template.custom">
<div class="uk-padding-small uk-padding-remove-horizontal">
<button
class="uk-button uk-button-link uk-flex uk-flex-middle uk-text-danger"