Fix delete database warning message is not announced by the screen reader after selecting 'Delete Database' menu item (#1074)

* Fix a11y delete database confirmation ississue

* Resolved lint issue - Removed Unnecessary semicolon

* Resolved compilation issue for extractFeature.ts and update test snapshot issue

Co-authored-by: Armando Trejo Oliver <ato9000@users.noreply.github.com>
This commit is contained in:
vaidankarswapnil
2021-09-21 21:28:03 +05:30
committed by GitHub
parent 5e8aa491ba
commit b05e5a2145
4 changed files with 15 additions and 5 deletions

View File

@@ -85,7 +85,7 @@ export function extractFeatures(given = new URLSearchParams(window.location.sear
};
}
export function hasFlag(flags: string, desiredFlag: string): boolean {
export function hasFlag(flags: string | undefined, desiredFlag: string | undefined): boolean {
if (!flags || !desiredFlag) {
return false;
}