mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
fix: Estimate customize values
This commit is contained in:
@@ -11,7 +11,7 @@ interface PdfTemplateContextValue {
|
||||
templateId: number | string;
|
||||
|
||||
// Pdf template.
|
||||
pdfTemplate: GetPdfTemplateResponse;
|
||||
pdfTemplate: GetPdfTemplateResponse | undefined;
|
||||
isPdfTemplateLoading: boolean;
|
||||
|
||||
// Branding state.
|
||||
@@ -42,8 +42,7 @@ export const BrandingTemplateBoot = ({
|
||||
|
||||
const isLoading = isPdfTemplateLoading ||
|
||||
isBrandingTemplateLoading ||
|
||||
!brandingTemplateState ||
|
||||
!pdfTemplate;
|
||||
!brandingTemplateState;
|
||||
|
||||
if (isLoading) {
|
||||
return <Spinner size={20} />;
|
||||
|
||||
Reference in New Issue
Block a user