We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 703f726 commit ac1200eCopy full SHA for ac1200e
packages/web-pkg/src/services/preview/previewService.ts
@@ -37,7 +37,8 @@ export class PreviewService {
37
}
38
39
private get available(): boolean {
40
- return !!this.capabilityStore.filesThumbnail?.version
+ // By default use v0.1 (to enable thumbnails by default)
41
+ return !!(this.capabilityStore.filesThumbnail || { version: 'v0.1' }).version
42
43
44
private get supportedMimeTypes() {
0 commit comments