mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 05:01:43 +00:00
live change link-example color by selected color
This commit is contained in:
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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user