Skip to content

Commit

Permalink
removed unused component
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathis Marcotte committed Dec 15, 2023
1 parent 538293e commit 0625b10
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions frontend/jupyter/src/app/pages/form/form-new/form-new.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export class FormNewComponent
formCtrl: FormGroup;
config: Config;

defaultStorageclass = false;

subscriptions = new Subscription();

readonlySpecs: boolean;
Expand Down Expand Up @@ -91,20 +89,6 @@ export class FormNewComponent
});
}),
);

// Check if a default StorageClass is set
this.backend.getDefaultStorageClass().subscribe(defaultClass => {
if (defaultClass.length === 0) {
this.defaultStorageclass = false;
this.popup.open(
$localize`No default Storage Class is set. Can't create new Disks for the new Notebook. Please use an Existing Disk.`,
SnackType.Warning,
0,
);
} else {
this.defaultStorageclass = true;
}
});
}

ngOnDestroy() {
Expand Down

0 comments on commit 0625b10

Please sign in to comment.