#85773 global section tabs order fixed

This commit is contained in:
Valery Kovalev 2021-05-04 14:54:45 +03:00
parent a20f4e7d79
commit 18d775edd4
2 changed files with 23 additions and 11 deletions

View File

@ -59,9 +59,9 @@ THE SOFTWARE.
<script>
import analytics from '../util/analytics';
import isChanged from '../util/is_changed';
import * as Sections from './global_sections';
import Sections from './global_sections';
const tabs = Object.values(Sections);
const tabs = Sections;
const delegated = tabs.reduce((prev, tab) => {
prev[tab.key] = tab.delegated;
return prev;

View File

@ -24,12 +24,24 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
export { default as HTTPS } from './https';
export { default as Security } from './security';
export { default as Python } from './python';
export { default as ReverseProxy } from './reverse_proxy';
export { default as Performance } from './performance';
export { default as Logging } from './logging';
export { default as NGINX } from './nginx';
export { default as Docker } from './docker';
export { default as Tools } from './tools';
import HTTPS from './https';
import Security from './security';
import Python from './python';
import ReverseProxy from './reverse_proxy';
import Performance from './performance';
import Logging from './logging';
import NGINX from './nginx';
import Docker from './docker';
import Tools from './tools';
export default [
HTTPS,
Security,
Python,
ReverseProxy,
Performance,
Logging,
NGINX,
Docker,
Tools,
];