mirror of
https://github.com/bitwarden/browser
synced 2026-02-05 11:13:44 +00:00
fixes to folder
This commit is contained in:
@@ -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 === "") {
|
||||
if (this.folder.name == null || this.folder.name === "") {
|
||||
this.toastService.showToast({
|
||||
variant: "error",
|
||||
title: this.i18nService.t("errorOccurred"),
|
||||
|
||||
Reference in New Issue
Block a user