1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 19:53:59 +00:00

remove unecessary check

This commit is contained in:
jaasen-livefront
2025-10-31 16:44:40 -07:00
parent 51e9aaf3a4
commit d9b522a341

View File

@@ -58,7 +58,7 @@ export class FolderAddEditComponent implements OnInit {
async submit(): Promise<boolean> {
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"),