mirror of
https://github.com/bitwarden/browser
synced 2026-02-12 06:23:38 +00:00
refactor(email-verification-feature-flag): [PM-7882] Email Verification
Lots of fixes and removal of the register route for signup in a lot of places.
This commit is contained in:
@@ -45,7 +45,7 @@ export class ToastComponent {
|
||||
message: string | string[];
|
||||
|
||||
/** An optional title to display over the message. */
|
||||
@Input() title: string;
|
||||
@Input() title: string | null;
|
||||
|
||||
/**
|
||||
* The percent width of the progress bar, from 0-100
|
||||
|
||||
@@ -20,6 +20,15 @@ export type ToastOptions = {
|
||||
export class ToastService {
|
||||
constructor(private toastrService: ToastrService) {}
|
||||
|
||||
/**
|
||||
* This will present the toast to a user.
|
||||
*
|
||||
* Note: The toast will be displayed for a minimum of 5 seconds if no timeout is provided in
|
||||
* the options.
|
||||
*
|
||||
* @param options Options for toasts. If no timeout is specified an appropriate duration will be
|
||||
* calculated on the size of the message being displayed.
|
||||
*/
|
||||
showToast(options: ToastOptions): void {
|
||||
const toastrConfig: Partial<IndividualConfig> = {
|
||||
payload: {
|
||||
|
||||
Reference in New Issue
Block a user