File previewer (#10260)
Add a file previewer for pdf, image, doc, xls <img width="991" alt="Screenshot 2025-02-17 at 15 03 10" src="https://github.com/user-attachments/assets/7516c13d-d6cb-4a10-b10f-b422268d223b" />
This commit is contained in:
@ -110,6 +110,9 @@ export class ClientConfig {
|
||||
@Field(() => Support)
|
||||
support: Support;
|
||||
|
||||
@Field(() => Boolean)
|
||||
isAttachmentPreviewEnabled: boolean;
|
||||
|
||||
@Field(() => Sentry)
|
||||
sentry: Sentry;
|
||||
|
||||
|
||||
@ -75,6 +75,9 @@ export class ClientConfigResolver {
|
||||
'MUTATION_MAXIMUM_AFFECTED_RECORDS',
|
||||
),
|
||||
},
|
||||
isAttachmentPreviewEnabled: this.environmentService.get(
|
||||
'IS_ATTACHMENT_PREVIEW_ENABLED',
|
||||
),
|
||||
analyticsEnabled: this.environmentService.get('ANALYTICS_ENABLED'),
|
||||
canManageFeatureFlags:
|
||||
this.environmentService.get('NODE_ENV') ===
|
||||
|
||||
Reference in New Issue
Block a user