Explorar o código

configuration types should also return extended per default

Raanan Weber %!s(int64=7) %!d(string=hai) anos
pai
achega
208c8d593f
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      Viewer/src/configuration/types/index.ts

+ 4 - 4
Viewer/src/configuration/types/index.ts

@@ -28,17 +28,17 @@ let getConfigurationType = function (types: string): ViewerConfiguration {
             case 'shadowSpotLight':
                 config = deepmerge(config, shadowSpotlLightConfiguration);
                 break;
-            case 'extended':
-                config = deepmerge(config, extendedConfiguration);
+            case 'default':
+                config = deepmerge(config, defaultConfiguration);
                 break;
             case 'minimal':
                 config = deepmerge(config, minimalConfiguration);
                 break;
             case 'none':
                 break;
-            case 'default':
+            case 'extended':
             default:
-                config = deepmerge(config, defaultConfiguration);
+                config = deepmerge(config, extendedConfiguration);
                 break;
         }