Skip to content

Commit

Permalink
Re-apply suggestion by @martenson to revise toolshed condition in adm…
Browse files Browse the repository at this point in the history
…in panel
  • Loading branch information
guerler committed Apr 9, 2024
1 parent 8effaea commit 7d55361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/admin/AdminPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { config, isConfigLoaded } = useConfig();
const adminProperties = computed(() => {
return {
enableQuotas: config.value.enable_quotas,
isToolshedInstalled: config.value.tool_shed_urls && config.value.tool_shed_urls.length > 0,
isToolshedInstalled: config.value.tool_shed_urls?.length > 0 ?? false,
versionMajor: config.value.version_major,
};
});
Expand Down

0 comments on commit 7d55361

Please sign in to comment.