live change link-example color by selected color

This commit is contained in:
andy.lee
2024-11-12 11:50:18 +01:00
committed by Francesco Torchia
parent dc74441d26
commit eaa8fd7d92
@@ -85,6 +85,9 @@ export default {
const schema = this.$store.getters[`management/schemaFor`](MANAGEMENT.SETTING);
return schema?.resourceMethods?.includes('PUT') ? _EDIT : _VIEW;
},
customLinkColor() {
return { color: this.uiLinkColor };
}
},
mounted() {
@@ -320,7 +323,7 @@ export default {
component-testid="link"
/>
<span class="col link-example">
<a>
<a :style="customLinkColor">
{{ t('branding.linkColor.example') }}
</a>
</span>