mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-12-02 21:28:47 +08:00
chore: disable vmstate-persistence and longhorn-static StorageClasses (#377)
* chore: disable vmstate-persistence and longhorn-static StorageClasses Signed-off-by: Nick Chung <nick.chung@suse.com> * chore: allow internal storage class deletions in image and volumn Signed-off-by: Nick Chung <nick.chung@suse.com> * chore: remove deletion tooltips in image and volume pages Signed-off-by: Nick Chung <nick.chung@suse.com> * chore: rollback style changes of image and volume lists Signed-off-by: Nick Chung <nick.chung@suse.com> --------- Signed-off-by: Nick Chung <nick.chung@suse.com>
This commit is contained in:
1 parent
193d4536e3
commit
b775ce5f50
11 files changed
+114
-7
No files matched your search
@@ -8,6 +8,7 @@ import { STATE, AGE, NAME, NAMESPACE } from '@shell/config/table-headers';
|
||||
import HarvesterVolumeState from '../formatters/HarvesterVolumeState';
|
||||
import { allSettled } from '../utils/promise';
|
||||
import { HCI, VOLUME_SNAPSHOT } from '../types';
|
||||
import { INTERNAL_STORAGE_CLASS } from '../config/types';
|
||||
|
||||
const schema = {
|
||||
id: HCI.VOLUME,
|
||||
@@ -130,6 +131,10 @@ export default {
|
||||
|
||||
getVMName(row) {
|
||||
return row.attachVM?.metadata?.name || '';
|
||||
},
|
||||
|
||||
isInternalStorageClass(storageClassName) {
|
||||
return this.$store.getters['type-map/labelFor'](INTERNAL_STORAGE_CLASS, storageClassName);
|
||||
}
|
||||
},
|
||||
|
||||
@@ -170,7 +175,7 @@ export default {
|
||||
</router-link>
|
||||
</div>
|
||||
</template>
|
||||
<template #col:name="{row}">
|
||||
<template #col:name="{ row }">
|
||||
<td>
|
||||
<span>
|
||||
<router-link
|
||||
|
||||
Reference in new issue
Block a user