MCPcopy Create free account
hub / github.com/bitwarden/clients / selectType

Method selectType

libs/angular/src/tools/send/send.component.ts:272–278  ·  view source on GitHub ↗
(type: SendType)

Source from the content-addressed store, hash-verified

270 }
271
272 selectType(type: SendType) {
273 this.clearSelections();
274 this.selectedType = type;
275 // FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
276 // eslint-disable-next-line @typescript-eslint/no-floating-promises
277 this.applyFilter((s) => s.type === type);
278 }
279
280 clearSelections() {
281 this.selectedAll = false;

Callers

nothing calls this directly

Calls 2

clearSelectionsMethod · 0.95
applyFilterMethod · 0.95

Tested by

no test coverage detected