Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "Outdated Only" button being disabled when dependency graph is not available #725

Merged
merged 1 commit into from
Feb 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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