Skip to content

Commit

Permalink
Container Details navigation control
Browse files Browse the repository at this point in the history
Protect user from unavailable navigation with an error toast
  • Loading branch information
aborroy committed Mar 8, 2024
1 parent 407070c commit 31a494c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/alfresco/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export const ALFRESCO_23_1_CONFIGURATION: ServiceConfiguration[] =
createConfigurationFor([
{
name: 'alfresco',
image: 'alfresco/alfresco-content-repository-community:23.2.0',
image: 'alfresco/alfresco-content-repository-community:23.2.1',
},
{
name: 'activemq',
Expand Down
6 changes: 5 additions & 1 deletion ui/src/helper/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,11 @@ export const waitTillReadyDb = async () => {
};

export const viewContainer = async (id: string) => {
await ddClient.desktopUI.navigate.viewContainer(id);
try {
await ddClient.desktopUI.navigate.viewContainer(id);
} catch (err) {
ddClient.desktopUI.toast.warning("This action is only enabled when 'Show Docker Extensions system containers' option is checked");
}
};

export const openAlfrescoInBrowser = async () => {
Expand Down

0 comments on commit 31a494c

Please sign in to comment.