mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-10-15 19:19:21 +08:00
Fix tab order (#255)
* Export array from domain sections * Export array from global sections * Export array from setup sections
This commit is contained in:
committed by
GitHub
parent
e49ec084ac
commit
47371a1216
@@ -56,10 +56,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 delegated = tabs.reduce((prev, tab) => {
|
||||
const delegated = Sections.reduce((prev, tab) => {
|
||||
prev[tab.key] = tab.delegated;
|
||||
return prev;
|
||||
}, {});
|
||||
@@ -72,8 +71,8 @@ THE SOFTWARE.
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
active: tabs[0].key,
|
||||
tabs,
|
||||
active: Sections[0].key,
|
||||
tabs: Sections,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
Reference in New Issue
Block a user