ui: Fix the styles action button (#4856)

This commit is contained in:
Hoang Nguyen 2021-03-23 20:52:59 +07:00 committed by GitHub
parent a53ecacf41
commit eaefc2a69f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,11 +17,11 @@
<template>
<span class="row-action-button">
<a-tooltip arrowPointAtCenter placement="bottomRight">
<a-tooltip arrowPointAtCenter placement="bottomRight" v-if="resource && resource.id && dataView">
<template slot="title">
{{ $t('label.view.console') }}
</template>
<console :resource="resource" :size="size" v-if="resource && resource.id && dataView" />
<console :resource="resource" :size="size" />
</a-tooltip>
<a-tooltip
v-for="(action, actionIndex) in actions"