@tager/admin-mail
Advanced tools
Comparing version 0.3.11 to 0.3.12
@@ -18,2 +18,3 @@ import { Nullable } from '@tager/admin-services'; | ||
fromEmail: Nullable<string>; | ||
editorMode: Nullable<string>; | ||
}; | ||
@@ -20,0 +21,0 @@ export declare type EmailServiceTemplate = { |
@@ -50,2 +50,3 @@ import { OptionType } from '@tager/admin-ui'; | ||
fromEmail: string | null; | ||
editorMode: string | null; | ||
} | null>; | ||
@@ -113,2 +114,3 @@ serviceTemplateOptions: import("@vue/composition-api").Ref<{ | ||
fromEmail: string | null; | ||
editorMode: string | null; | ||
} | null>; | ||
@@ -115,0 +117,0 @@ serviceTemplateOptions: import("@vue/composition-api").Ref<{ |
@@ -24,2 +24,3 @@ import { ColumnDefinition } from '@tager/admin-ui'; | ||
fromEmail: string | null; | ||
editorMode: string | null; | ||
}[]>; | ||
@@ -54,2 +55,3 @@ isRowDataLoading: import("@vue/composition-api").ComputedRef<boolean>; | ||
fromEmail: string | null; | ||
editorMode: string | null; | ||
}[]>; | ||
@@ -56,0 +58,0 @@ isRowDataLoading: import("@vue/composition-api").ComputedRef<boolean>; |
{ | ||
"name": "@tager/admin-mail", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.umd.js", |
@@ -16,2 +16,3 @@ import { Nullable } from '@tager/admin-services'; | ||
fromEmail: Nullable<string>; | ||
editorMode: Nullable<string>; | ||
}; | ||
@@ -18,0 +19,0 @@ |
@@ -29,2 +29,6 @@ import { Nullable } from '@tager/admin-services'; | ||
const foundEditorMode = editorModeOptions.find( | ||
({ value }) => value === template?.editorMode | ||
); | ||
return { | ||
@@ -41,4 +45,4 @@ alias: template?.alias ?? '', | ||
fromEmail: template?.fromEmail ?? null, | ||
editorMode: editorModeOptions[0], | ||
editorMode: foundEditorMode ?? editorModeOptions[0], | ||
}; | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
246659
5095