Skip to content

Commit

Permalink
Fix "Outdated Only" button being disabled when dependency graph is no…
Browse files Browse the repository at this point in the history
…t available

Fixes DependencyTrack/dependency-track#3404

Signed-off-by: nscuro <[email protected]>
  • Loading branch information
nscuro committed Feb 3, 2024
1 parent 2d71d49 commit 46015fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/portfolio/projects/ProjectComponents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<b-dropdown-item @click="downloadBom('withVulnerabilities')" href="#">{{ $t('message.inventory_with_vulnerabilities') }}</b-dropdown-item>
</b-dropdown>
<span id="switch-container-outdated" style="margin-left:1rem; margin-right:.5rem" class="keep-together">
<c-switch id="only-outdated" :disabled="!project || !this.project.directDependencies" color="primary" v-model="onlyOutdated" label v-bind="labelIcon" />
<c-switch id="only-outdated" :disabled="!project" color="primary" v-model="onlyOutdated" label v-bind="labelIcon" />
<span class="text-muted">{{ $t('message.outdated_only') }}</span></span>
<b-tooltip target="switch-container-outdated" triggers="hover focus">{{ $t('message.only_outdated_tooltip') }}</b-tooltip>
<span id="switch-container-direct" style="margin-left:1rem; margin-right:.5rem" class="keep-together">
Expand Down

0 comments on commit 46015fd

Please sign in to comment.