Skip to content

Commit

Permalink
PER-8903-pass-group-instead-of-family
Browse files Browse the repository at this point in the history
Make sure that all family archives are converted to group to display the dropdown correctly
  • Loading branch information
crisnicandrei committed Mar 1, 2024
1 parent f7073e6 commit 73930af
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ export class PublicSettingsComponent implements OnInit {

ngOnInit(): void {
this.allowDownloadsToggle = +this.archive.allowPublicDownload;
this.archiveType = this.archive.type;
this.archiveType =
this.archive.type === 'type.archive.family'
? 'type.archive.group'
: this.archive.type;
}

public async onAllowDownloadsChange() {
Expand Down

0 comments on commit 73930af

Please sign in to comment.