From 6c56006fbf59f2f49694fc4c9b31e6ecd89cb031 Mon Sep 17 00:00:00 2001 From: Lukas Martinelli Date: Wed, 11 Jan 2017 16:26:14 +0100 Subject: [PATCH] Show choose public sources first #64 --- src/components/modals/SourcesModal.jsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/modals/SourcesModal.jsx b/src/components/modals/SourcesModal.jsx index 75989a7..73df920 100644 --- a/src/components/modals/SourcesModal.jsx +++ b/src/components/modals/SourcesModal.jsx @@ -210,9 +210,20 @@ class SourcesModal extends React.Component { title={'Sources'} >
-

Active Sources

- {activeSources} +

Active Sources

+ {activeSources}
+ +
+

Choose Public Source

+

+ Add one of the publicly availble sources to your style. +

+
+ {tilesetOptions} +
+
+

Add New Source

Add a new source to your style. You can only choose the source type and id at creation time!

@@ -220,17 +231,6 @@ class SourcesModal extends React.Component { onAdd={(sourceId, source) => this.props.onStyleChanged(addSource(mapStyle, sourceId, source))} />
- -
-

Choose Public Source

-

- Add one of the publicly availble sources to your style. -

-
- -
- {tilesetOptions} -
} }