Add procedure document type

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-10-13 22:36:37 +02:00
parent b2392f51c4
commit 0c4a7169df
23 changed files with 73 additions and 53 deletions

View File

@@ -1,6 +1,6 @@
type Translator = (s: string) => string;
export const documentTypes = ["OTHER", "ISMS", "POLICY"] as const;
export const documentTypes = ["OTHER", "ISMS", "POLICY", "PROCEDURE"] as const;
export function getDocumentTypeLabel(__: Translator, type: string) {
switch (type) {
@@ -10,5 +10,7 @@ export function getDocumentTypeLabel(__: Translator, type: string) {
return __("ISMS");
case "POLICY":
return __("Policy");
case "PROCEDURE":
return __("Procedure");
}
}