Commit 785c9adb authored by Kushal Pandya's avatar Kushal Pandya

Clean up to remove ESLint disable, GeoNodesService init

parent 300987bb
......@@ -14,11 +14,10 @@ export default () => {
const el = document.getElementById('js-geo-nodes');
if (!el) {
return;
return false;
}
// eslint-disable-next-line no-new
new Vue({
return new Vue({
el,
components: {
geoNodesApp,
......@@ -28,7 +27,7 @@ export default () => {
const nodeActionsAllowed = convertPermissionToBoolean(dataset.nodeActionsAllowed);
const nodeEditAllowed = convertPermissionToBoolean(dataset.nodeEditAllowed);
const store = new GeoNodesStore(dataset.primaryVersion, dataset.primaryRevision);
const service = new GeoNodesService(dataset.nodeDetailsPath);
const service = new GeoNodesService();
return {
store,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment