Skip to content

Commit

Permalink
fix(Workshops): Prohibit workshop functionality for migrated projects (
Browse files Browse the repository at this point in the history
…#5982)

Co-authored-by: Ubuntu <[email protected]>
  • Loading branch information
vktrrdk and Ubuntu authored Dec 19, 2023
1 parent 0bcb732 commit 319aa0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div *ngIf="!is_loaded" class="loader"></div>
<div *ngIf="is_loaded && userinfo?.PublicKey !== 'None' && projects.length === 0">
<div class="alert alert-warning" role="alert">
You are not an admin of any Simple VM project with workshop enabled.
You are not an admin of any Simple VM project with workshop enabled for this platform.
</div>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
</div>
</div>
</div>

<div *ngIf="projectWorkshopsLoaded && projectMembersLoaded" class="card" id="workshopCard">
<div class="card-header">
<i class="fa fa-align-justify"></i>
Expand Down Expand Up @@ -447,9 +446,9 @@ <h6 class="card-title">Add new timeframes</h6>
<span class="spinner-border-sm"></span>
</div>
</div>
<div *ngIf="projects.length === 0" class="alert alert-warning" role="alert">
You are not a member of a project with workshop functionality.
</div>
</div>
<div *ngIf="projects.length === 0" class="alert alert-warning" role="alert">
You are not a member of a project with workshop functionality on this platform.
</div>
</div>

Expand Down

0 comments on commit 319aa0a

Please sign in to comment.