mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
* Remove unneeded condition (#279)
Signed-off-by: Andy Lee <andy.lee@suse.com>
(cherry picked from commit 8410f75859)
# Conflicts:
# pkg/harvester/edit/kubevirt.io.virtualmachine/VirtualMachineSSHKey.vue
* solve conflict
Signed-off-by: Andy Lee <andy.lee@suse.com>
---------
Signed-off-by: Andy Lee <andy.lee@suse.com>
Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import { clone } from '@shell/utils/object';
|
||||
import { LabeledInput } from '@components/Form/LabeledInput';
|
||||
import LabeledSelect from '@shell/components/form/LabeledSelect';
|
||||
import ModalWithCard from '@shell/components/ModalWithCard';
|
||||
import { _VIEW, _EDIT } from '@shell/config/query-params';
|
||||
import { _VIEW } from '@shell/config/query-params';
|
||||
import { NAMESPACE } from '@shell/config/types';
|
||||
import { HCI } from '../../types';
|
||||
|
||||
@@ -88,9 +88,6 @@ export default {
|
||||
},
|
||||
|
||||
sshOption() {
|
||||
if (this.mode === _VIEW || this.mode === _EDIT) {
|
||||
return [];
|
||||
}
|
||||
const out = this.$store.getters['harvester/all'](HCI.SSH).map( (O) => {
|
||||
return {
|
||||
label: O.id,
|
||||
|
||||
Reference in New Issue
Block a user