mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +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">
|
||||
{{ t('harvester.image.encryptionSecret') }}
|
||||
</div>
|
||||
<n-link v-if="encryptionSecret && secretLink" :to="secretLink">
|
||||
<router-link v-if="encryptionSecret && secretLink" :to="secretLink">
|
||||
{{ encryptionSecret }}
|
||||
</n-link>
|
||||
</router-link>
|
||||
<span v-else-if="encryptionSecret">
|
||||
{{ encryptionSecret }}
|
||||
</span>
|
||||
@ -199,9 +199,9 @@ export default {
|
||||
<div class="text-label">
|
||||
{{ t('harvester.image.sourceImage') }}
|
||||
</div>
|
||||
<n-link v-if="sourceImageId && sourceImageLink" :to="sourceImageLink">
|
||||
<router-link v-if="sourceImageId && sourceImageLink" :to="sourceImageLink">
|
||||
{{ sourceImageId }}
|
||||
</n-link>
|
||||
</router-link>
|
||||
<span v-else-if="sourceImageId">
|
||||
{{ sourceImageId }}
|
||||
</span>
|
||||
|
||||
@ -467,7 +467,7 @@ export default {
|
||||
|
||||
<LabeledSelect
|
||||
v-if="value.spec.sourceType === 'clone'"
|
||||
v-model="sourceImage"
|
||||
v-model:value="sourceImage"
|
||||
:options="sourceImageOptions"
|
||||
:label="t('harvester.image.sourceImage')"
|
||||
:mode="mode"
|
||||
|
||||
@ -78,13 +78,13 @@ export default {
|
||||
<template #col:name="{row}">
|
||||
<td>
|
||||
<span>
|
||||
<n-link
|
||||
<router-link
|
||||
v-if="row?.detailLocation"
|
||||
:to="row.detailLocation"
|
||||
>
|
||||
{{ row.nameDisplay }}
|
||||
<i v-if="row.isEncrypted" class="icon icon-lock" />
|
||||
</n-link>
|
||||
</router-link>
|
||||
<span v-else>
|
||||
{{ row.nameDisplay }}
|
||||
</span>
|
||||
|
||||
@ -173,13 +173,13 @@ v-if="getVMName(scope.row)"
|
||||
<template #col:name="{row}">
|
||||
<td>
|
||||
<span>
|
||||
<n-link
|
||||
<router-link
|
||||
v-if="row?.detailLocation"
|
||||
:to="row.detailLocation"
|
||||
>
|
||||
{{ row.nameDisplay }}
|
||||
<i v-if="row.isEncrypted" class="icon icon-lock" />
|
||||
</n-link>
|
||||
</router-link>
|
||||
<span v-else>
|
||||
{{ row.nameDisplay }}
|
||||
</span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user