1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 21:50:15 +00:00

small cr changes

This commit is contained in:
William Martin
2025-04-22 08:42:03 -04:00
parent 478cdbaffb
commit dc19571764
3 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
import { DIALOG_DATA, DialogModule, DialogRef } from "@angular/cdk/dialog";
import { Component, Inject, input } from "@angular/core";
import { Component, Inject } from "@angular/core";
import { NoopAnimationsModule } from "@angular/platform-browser/animations";
import { RouterTestingModule } from "@angular/router/testing";
import { Meta, StoryObj, applicationConfig, moduleMetadata } from "@storybook/angular";
@@ -34,8 +34,6 @@ interface Animal {
class StoryDialogComponent {
constructor(public dialogService: DialogService) {}
isDrawer = input(false);
openDialog() {
this.dialogService.open(StoryDialogContentComponent, {
data: {

View File

@@ -133,7 +133,10 @@ export class DialogService {
private activeDrawer: DrawerDialogRef<any, any> | null = null;
constructor() {
/** TODO: This logic should exist outside of `libs/components`. */
/**
* TODO: This logic should exist outside of `libs/components`.
* @see https://bitwarden.atlassian.net/browse/CL-657
**/
/** Close all open dialogs if the vault locks */
if (this.router && this.authService) {
this.router.events

View File

@@ -44,7 +44,6 @@
}
</main>
</div>
<!-- eslint-disable-next-line tailwindcss/enforces-shorthand -->
<div class="tw-absolute tw-z-50 tw-left-0 md:tw-sticky tw-top-0 tw-h-screen md:tw-w-auto">
<ng-template [cdkPortalOutlet]="drawerPortal()"></ng-template>
</div>