UI: Fix detail settings (#6335)

This commit is contained in:
Nicolas Vazquez 2022-04-28 23:37:28 -03:00 committed by GitHub
parent 23f6db7735
commit e0487c43fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View File

@ -56,8 +56,8 @@
:options="detailValues"
:placeholder="$t('label.value')"
@change="e => onAddInputChange(e, 'newValue')" />
<tooltip-button :tooltip="$t('label.add.setting')" icon="check-outlined" @onClick="addDetail" buttonClass="detail-button" />
<tooltip-button :tooltip="$t('label.cancel')" icon="close-outlined" @onClick="closeDetail" buttonClass="detail-button" />
<tooltip-button :tooltip="$t('label.add.setting')" :shape="null" icon="check-outlined" @onClick="addDetail" buttonClass="detail-button" />
<tooltip-button :tooltip="$t('label.cancel')" :shape="null" icon="close-outlined" @onClick="closeDetail" buttonClass="detail-button" />
</a-input-group>
<p v-if="error" style="color: red"> {{ $t(error) }} </p>
</div>

View File

@ -20,10 +20,10 @@
<template #title v-if="tooltip">
{{ tooltip }}
</template>
<span style="margin-right: 5px">
<span>
<a-button
v-if="copyResource"
shape="circle"
:shape="shape"
:size="size"
:type="type"
:danger="danger"
@ -39,7 +39,7 @@
</a-button>
<a-button
v-else
shape="circle"
:shape="shape"
:size="size"
:type="type"
:danger="danger"
@ -108,6 +108,10 @@ export default {
danger: {
type: Boolean,
default: false
},
shape: {
type: String,
default: 'circle'
}
},
methods: {