Skip to content

Commit

Permalink
Added: Results URL in project
Browse files Browse the repository at this point in the history
  • Loading branch information
djuarezgf committed Jan 21, 2025
1 parent 3362916 commit 19016c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/components/BridgeheadOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion src/components/ResultsBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 || [];
Expand Down
1 change: 1 addition & 0 deletions src/services/projectManagerBackendService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export interface Project {
queryContext: string | null;
isCustomConfig: boolean | null;
creatorState: string;
resultsUrl: string | null | undefined;
}

export interface Notification {
Expand Down

0 comments on commit 19016c0

Please sign in to comment.