Skip to content

Commit

Permalink
Merge pull request #725 from nscuro/issue-3404
Browse files Browse the repository at this point in the history
Fix "Outdated Only" button being disabled when dependency graph is not available
  • Loading branch information
nscuro authored Feb 3, 2024
2 parents 9c4a3b9 + 46015fd commit 842a251
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 842a251

Please sign in to comment.