From 7c2576b0cfb0a15b2a14f6f5ea96de16f0c23b44 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Tue, 24 Dec 2019 02:22:56 +0100 Subject: viewer: Plugin for Optional chaining and Coalesce. Implemented tag operations (intersection, addition, substraction). Unified Tag.Search --- viewer/src/components/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'viewer/src/components/index.ts') diff --git a/viewer/src/components/index.ts b/viewer/src/components/index.ts index 1406b34..4586f62 100644 --- a/viewer/src/components/index.ts +++ b/viewer/src/components/index.ts @@ -17,6 +17,6 @@ requireComponent.keys().forEach(fileName => { // Look for the component options on `.default`, which will // exist if the component was exported with `export default`, // otherwise fall back to module's root. - componentConfig.default || componentConfig + componentConfig.default ?? componentConfig ) }) \ No newline at end of file -- cgit v1.2.3