mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-02-04 15:01:46 +00:00
Fixing obvious problems with nlink and v-model
Putting in some vue3 fixes that are necessary after pulling in all of the latest changes from harvester/dashboard
This commit is contained in:
parent
7293e65fb4
commit
8b6dbc1789
@ -182,9 +182,9 @@ export default {
|
|||||||
<div class="text-label">
|
<div class="text-label">
|
||||||
{{ t('harvester.image.encryptionSecret') }}
|
{{ t('harvester.image.encryptionSecret') }}
|
||||||
</div>
|
</div>
|
||||||
<n-link v-if="encryptionSecret && secretLink" :to="secretLink">
|
<router-link v-if="encryptionSecret && secretLink" :to="secretLink">
|
||||||
{{ encryptionSecret }}
|
{{ encryptionSecret }}
|
||||||
</n-link>
|
</router-link>
|
||||||
<span v-else-if="encryptionSecret">
|
<span v-else-if="encryptionSecret">
|
||||||
{{ encryptionSecret }}
|
{{ encryptionSecret }}
|
||||||
</span>
|
</span>
|
||||||
@ -199,9 +199,9 @@ export default {
|
|||||||
<div class="text-label">
|
<div class="text-label">
|
||||||
{{ t('harvester.image.sourceImage') }}
|
{{ t('harvester.image.sourceImage') }}
|
||||||
</div>
|
</div>
|
||||||
<n-link v-if="sourceImageId && sourceImageLink" :to="sourceImageLink">
|
<router-link v-if="sourceImageId && sourceImageLink" :to="sourceImageLink">
|
||||||
{{ sourceImageId }}
|
{{ sourceImageId }}
|
||||||
</n-link>
|
</router-link>
|
||||||
<span v-else-if="sourceImageId">
|
<span v-else-if="sourceImageId">
|
||||||
{{ sourceImageId }}
|
{{ sourceImageId }}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@ -467,7 +467,7 @@ export default {
|
|||||||
|
|
||||||
<LabeledSelect
|
<LabeledSelect
|
||||||
v-if="value.spec.sourceType === 'clone'"
|
v-if="value.spec.sourceType === 'clone'"
|
||||||
v-model="sourceImage"
|
v-model:value="sourceImage"
|
||||||
:options="sourceImageOptions"
|
:options="sourceImageOptions"
|
||||||
:label="t('harvester.image.sourceImage')"
|
:label="t('harvester.image.sourceImage')"
|
||||||
:mode="mode"
|
:mode="mode"
|
||||||
|
|||||||
@ -78,13 +78,13 @@ export default {
|
|||||||
<template #col:name="{row}">
|
<template #col:name="{row}">
|
||||||
<td>
|
<td>
|
||||||
<span>
|
<span>
|
||||||
<n-link
|
<router-link
|
||||||
v-if="row?.detailLocation"
|
v-if="row?.detailLocation"
|
||||||
:to="row.detailLocation"
|
:to="row.detailLocation"
|
||||||
>
|
>
|
||||||
{{ row.nameDisplay }}
|
{{ row.nameDisplay }}
|
||||||
<i v-if="row.isEncrypted" class="icon icon-lock" />
|
<i v-if="row.isEncrypted" class="icon icon-lock" />
|
||||||
</n-link>
|
</router-link>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
{{ row.nameDisplay }}
|
{{ row.nameDisplay }}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@ -173,13 +173,13 @@ v-if="getVMName(scope.row)"
|
|||||||
<template #col:name="{row}">
|
<template #col:name="{row}">
|
||||||
<td>
|
<td>
|
||||||
<span>
|
<span>
|
||||||
<n-link
|
<router-link
|
||||||
v-if="row?.detailLocation"
|
v-if="row?.detailLocation"
|
||||||
:to="row.detailLocation"
|
:to="row.detailLocation"
|
||||||
>
|
>
|
||||||
{{ row.nameDisplay }}
|
{{ row.nameDisplay }}
|
||||||
<i v-if="row.isEncrypted" class="icon icon-lock" />
|
<i v-if="row.isEncrypted" class="icon icon-lock" />
|
||||||
</n-link>
|
</router-link>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
{{ row.nameDisplay }}
|
{{ row.nameDisplay }}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user