From 55dba4f6718dff25213ff6cc43563804936329a6 Mon Sep 17 00:00:00 2001 From: Ruben Thoms Date: Fri, 13 Sep 2024 17:04:24 +0200 Subject: [PATCH] wip --- .../layers/implementations/settings/FaultPolygonsAttribute.tsx | 2 +- frontend/src/modules/LayerSpike/view/view.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/modules/LayerSpike/layers/implementations/settings/FaultPolygonsAttribute.tsx b/frontend/src/modules/LayerSpike/layers/implementations/settings/FaultPolygonsAttribute.tsx index 9396b1611..79221ffca 100644 --- a/frontend/src/modules/LayerSpike/layers/implementations/settings/FaultPolygonsAttribute.tsx +++ b/frontend/src/modules/LayerSpike/layers/implementations/settings/FaultPolygonsAttribute.tsx @@ -24,7 +24,7 @@ export class FaultPolygonsAttribute implements Setting { } makeComponent(): (props: SettingComponentProps) => React.ReactNode { - return function Ensemble(props: SettingComponentProps) { + return function FaultPolygons(props: SettingComponentProps) { const options: DropdownOption[] = props.availableValues.map((value) => { return { value: value.toString(), diff --git a/frontend/src/modules/LayerSpike/view/view.tsx b/frontend/src/modules/LayerSpike/view/view.tsx index 4d4d89fdb..6640c645f 100644 --- a/frontend/src/modules/LayerSpike/view/view.tsx +++ b/frontend/src/modules/LayerSpike/view/view.tsx @@ -70,7 +70,7 @@ export function View(props: ModuleViewProps): React.ReactNode { ); } - viewerLayers.push(...results.globalLayers); + viewerLayers.push(...results.globalLayers.toReversed()); viewerLayers.push( new Axes2DLayer({ id: "axes",