We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5075524 commit 9493cfeCopy full SHA for 9493cfe
pkg/sbombastic-image-vulnerability-scanner/models/sbombastic.rancher.io.registry.js
@@ -7,6 +7,11 @@ export default class Registry extends SteveModel {
7
console.log("Registry _availableActions");
8
const out = super._availableActions.filter(action => !['download','downloadYaml'].includes(action.action));
9
10
+ // In details page, we don't want to show the scan action
11
+ if (this.$rootState.targetRoute && 'id' in this.$rootState.targetRoute.params) {
12
+ return out;
13
+ }
14
+
15
const scanAction = {
16
action: 'scanRegistry',
17
label: this.t('imageScanner.registries.button.startScan'),
0 commit comments