Skip to content
Snippets Groups Projects
Commit 7dfcfbac authored by Lukasz Lopatowski's avatar Lukasz Lopatowski
Browse files

Trying to fix issue with empty upgradeInfo

parent cc686be8
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<p><strong>{{'UPGRADE_MODAL.CURRENT_VERSION' | translate}}: </strong>{{currentApplicationVersion}}</p> <p><strong>{{'UPGRADE_MODAL.CURRENT_VERSION' | translate}}: </strong>{{currentApplicationVersion}}</p>
</div> </div>
<div style="padding-top: 15px"> <div style="padding-top: 15px">
<p><strong>{{'UPGRADE_MODAL.NEW_VERSION' | translate}}: </strong>{{upgradeInfo.applicationVersion}} ({{'UPGRADE_MODAL.HELM_CHART_VERSION' | translate}}: {{upgradeInfo.helmChartVersion}})</p> <p><strong>{{'UPGRADE_MODAL.NEW_VERSION' | translate}}: </strong>{{upgradeInfo?.applicationVersion}} ({{'UPGRADE_MODAL.HELM_CHART_VERSION' | translate}}: {{upgradeInfo?.helmChartVersion}})</p>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -16,13 +16,13 @@ export class AppUpgradeModalComponent implements OnInit { ...@@ -16,13 +16,13 @@ export class AppUpgradeModalComponent implements OnInit {
public readonly modal: ModalComponent; public readonly modal: ModalComponent;
@Input() @Input()
private appInstanceId: number; private appInstanceId: number = undefined;
@Input() @Input()
public currentApplicationVersion: string; public currentApplicationVersion: string = undefined;
@Input() @Input()
public upgradeInfo: AppInstanceUpgradeInfo; public upgradeInfo: AppInstanceUpgradeInfo = undefined;
constructor(private router: Router, constructor(private router: Router,
private appInstanceService: AppInstanceService) { private appInstanceService: AppInstanceService) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment