We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d8c043 commit 0c897ceCopy full SHA for 0c897ce
apps/portal/view/learn/MainContainerController.mjs
@@ -50,29 +50,6 @@ class MainContainerController extends Controller {
50
})
51
}
52
53
- /**
54
- *
55
- */
56
- onConstructed() {
57
- super.onConstructed();
58
-
59
- let me = this;
60
61
- Neo.Main.getByPath({path: 'location.search'})
62
- .then(data => {
63
- me.setState({
64
- deck: getSearchParams(data).deck || 'learnneo'
65
- })
66
- });
67
68
- // todo: target file does not exist inside the repo
69
- /*fetch('../../../../resources/data/deck/EditorConfig.json')
70
- .then(response => response.json()
71
- .then(data =>
72
- me.setState('editorConfig', data)
73
- ))*/
74
- }
75
76
/**
77
* @param {Object} data
78
* @returns {Promise<void>}
0 commit comments