Skip to content

Commit 74616c5

Browse files
nit commit
1 parent 2ae2951 commit 74616c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

desktop/core/src/desktop/js/apps/admin/Overview/Examples.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ const Examples = (): JSX.Element => {
9999
} else {
100100
await installExamplesCall(url, { app_name: actualAppName });
101101
}
102-
const message = `${exampleApp.name} ${t('examples installed successfully')}`;
102+
const message = `${actualAppName} ${t('examples installed successfully')}`;
103103
huePubSub.publish('hue.global.info', { message });
104104
} catch (error) {
105105
const errorMessage = error.message
106-
? `${t('An error occurred while installing')} ${exampleApp.name}: ${error.message}`
107-
: `${t('An error occurred while installing')} ${exampleApp.name}.`;
106+
? `${t('An error occurred while installing')} ${actualAppName}: ${error.message}`
107+
: `${t('An error occurred while installing')} ${actualAppName}.`;
108108
huePubSub.publish('hue.global.error', { message: errorMessage });
109109
} finally {
110110
setInstallingAppId('');

0 commit comments

Comments
 (0)