diff --git a/CHANGELOG.md b/CHANGELOG.md index e32e971..10fa253 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [1.1.0 - 2025-01-20] +## [1.1.0 - 2025-01-21] ### Added - Dockerfile - Single Spa @@ -89,6 +89,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Password Sharing Tool for different templates - Fetch email message and subject - Generate eml and html files for Password Sharing Tool +- Results URL in project ### Changed - Rename accept and reject bridgehead state buttons (authorize/revoke) diff --git a/src/components/BridgeheadOverview.vue b/src/components/BridgeheadOverview.vue index 3f011e9..bf422fb 100644 --- a/src/components/BridgeheadOverview.vue +++ b/src/components/BridgeheadOverview.vue @@ -207,10 +207,10 @@ export default class BridgeheadOverview extends Vue { return [isFinished.length, notFinished.length] } getCreatorStatus(): number[] { - if (this.project?.creatorState === 'ACCEPTED'){ + if (this.project?.creatorState === 'ACCEPTED' && this.project?.resultsUrl){ return [1, 0]; } - if (this.project?.creatorState === 'REJECTED'){ + if (this.project?.creatorState === 'REJECTED' && this.project?.resultsUrl){ return [0, 1]; } const isFinished = this.bridgeheads.filter((bridgehead) => this.isBridgeheadAcceptedByCreator(bridgehead)); diff --git a/src/components/ResultsBox.vue b/src/components/ResultsBox.vue index 8abcfd6..5cd34ab 100644 --- a/src/components/ResultsBox.vue +++ b/src/components/ResultsBox.vue @@ -184,7 +184,7 @@ export default class ResultsBox extends Vue { } this.resultsToShow = tempResults; } else { - if (this.projectResults) { + if (this.projectResults && this.projectResults.url) { this.resultsToShow = [this.projectResults]; } else { this.resultsToShow = this.projectBridgeheadResults || []; diff --git a/src/services/projectManagerBackendService.ts b/src/services/projectManagerBackendService.ts index 6702c61..67eaaf1 100644 --- a/src/services/projectManagerBackendService.ts +++ b/src/services/projectManagerBackendService.ts @@ -166,6 +166,7 @@ export interface Project { queryContext: string | null; isCustomConfig: boolean | null; creatorState: string; + resultsUrl: string | null | undefined; } export interface Notification {