From 972fc8c3986afc66e7ebb3239cf461a3034af6e9 Mon Sep 17 00:00:00 2001 From: Drew Ansbacher Date: Fri, 3 Dec 2021 14:01:19 -0700 Subject: [PATCH] only edit error if error --- ui/src/app/pages/apps-routes/app-show/app-show.page.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/src/app/pages/apps-routes/app-show/app-show.page.ts b/ui/src/app/pages/apps-routes/app-show/app-show.page.ts index a8a4aac75..a79d67ad5 100644 --- a/ui/src/app/pages/apps-routes/app-show/app-show.page.ts +++ b/ui/src/app/pages/apps-routes/app-show/app-show.page.ts @@ -283,10 +283,9 @@ export class AppShowPage { } else if (error.type === DependencyErrorType.Transitive) { errorText = 'Dependency has a dependency issue' } + errorText = `${errorText}. ${ this.pkg.manifest.title} will not work as expected.` } - errorText = `${errorText}. ${ this.pkg.manifest.title} will not work as expected.` - const depInfo = this.pkg.installed['dependency-info'][id] return {