mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
(cherry picked from commit 8410f758592221e4ad2bed254a142d82a0b506b5) Signed-off-by: Andy Lee <andy.lee@suse.com> Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
607aa106e1
commit
d5df7ba602
@ -6,7 +6,7 @@ import { LabeledInput } from '@components/Form/LabeledInput';
|
|||||||
import LabeledSelect from '@shell/components/form/LabeledSelect';
|
import LabeledSelect from '@shell/components/form/LabeledSelect';
|
||||||
import ModalWithCard from '@shell/components/ModalWithCard';
|
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 { NAMESPACE } from '@shell/config/types';
|
||||||
import { HCI } from '../../types';
|
import { HCI } from '../../types';
|
||||||
@ -90,9 +90,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
sshOption() {
|
sshOption() {
|
||||||
if (this.mode === _VIEW || this.mode === _EDIT) {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
const out = this.$store.getters['harvester/all'](HCI.SSH).map( (O) => {
|
const out = this.$store.getters['harvester/all'](HCI.SSH).map( (O) => {
|
||||||
return {
|
return {
|
||||||
label: O.id,
|
label: O.id,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user