mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
Fix buttons switch and clean up unused headers
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -36,14 +36,16 @@ export default class PCIDevice extends SteveModel {
|
||||
icon: 'icon icon-fw icon-dot',
|
||||
label: 'Enable Passthrough',
|
||||
bulkable: true,
|
||||
bulkAction: 'enablePassthroughBulk'
|
||||
bulkAction: 'enablePassthroughBulk',
|
||||
weight: 1
|
||||
},
|
||||
{
|
||||
action: 'disablePassthrough',
|
||||
enabled: this.isEnabling && this.claimedByMe,
|
||||
icon: 'icon icon-fw icon-dot-open',
|
||||
label: 'Disable Passthrough',
|
||||
bulkable: true
|
||||
bulkable: true,
|
||||
weight: 0
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
@@ -36,14 +36,16 @@ export default class USBDevice extends SteveModel {
|
||||
icon: 'icon icon-fw icon-dot',
|
||||
label: 'Enable Passthrough',
|
||||
bulkable: true,
|
||||
bulkAction: 'enablePassthroughBulk'
|
||||
bulkAction: 'enablePassthroughBulk',
|
||||
weight: 1
|
||||
},
|
||||
{
|
||||
action: 'disablePassthrough',
|
||||
enabled: this.status.enabled,
|
||||
icon: 'icon icon-fw icon-dot-open',
|
||||
label: 'Disable Passthrough',
|
||||
bulkable: true
|
||||
bulkable: true,
|
||||
weight: 0
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user