From d9b522a341133d17da8e08708adf1ca1782fc19a Mon Sep 17 00:00:00 2001 From: jaasen-livefront Date: Fri, 31 Oct 2025 16:44:40 -0700 Subject: [PATCH] remove unecessary check --- libs/angular/src/vault/components/folder-add-edit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/angular/src/vault/components/folder-add-edit.component.ts b/libs/angular/src/vault/components/folder-add-edit.component.ts index 486585b810c..31c26b4625f 100644 --- a/libs/angular/src/vault/components/folder-add-edit.component.ts +++ b/libs/angular/src/vault/components/folder-add-edit.component.ts @@ -58,7 +58,7 @@ export class FolderAddEditComponent implements OnInit { async submit(): Promise { this.folder.name = this.formGroup.controls.name.value; - if (this.folder.name == null || this.folder.name === "") { + if (this.folder.name === "") { this.toastService.showToast({ variant: "error", title: this.i18nService.t("errorOccurred"),