From 964438ff1bc4fb963f5b9f0bbe1f605de2e8ef87 Mon Sep 17 00:00:00 2001 From: Will Martin Date: Tue, 9 Jul 2024 16:31:03 -0400 Subject: [PATCH] [DS] add deprecation comment to `ApiActionDirective` (#10041) --- libs/angular/src/directives/api-action.directive.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/angular/src/directives/api-action.directive.ts b/libs/angular/src/directives/api-action.directive.ts index d07cb67b0fa..d7814b75427 100644 --- a/libs/angular/src/directives/api-action.directive.ts +++ b/libs/angular/src/directives/api-action.directive.ts @@ -9,6 +9,8 @@ import { ValidationService } from "@bitwarden/common/platform/abstractions/valid * Attach it to a
element and provide the name of the class property that will hold the api call promise. * e.g. * Any errors/rejections that occur will be intercepted and displayed as error toasts. + * + * @deprecated Use the CL's {@link BitSubmitDirective} instead */ @Directive({ selector: "[appApiAction]",