Commit 25f819b2 authored by Hermann's avatar Hermann
Browse files

fix remaining linter errors

parent ed8ac6ef
...@@ -2,7 +2,6 @@ import m from 'mithril'; ...@@ -2,7 +2,6 @@ import m from 'mithril';
import { DatalistController } from 'amiv-web-ui-components'; import { DatalistController } from 'amiv-web-ui-components';
import { studydocuments as config } from '../resourceConfig.json'; import { studydocuments as config } from '../resourceConfig.json';
import TableView from '../views/tableView'; import TableView from '../views/tableView';
import { dateFormatter } from '../utils';
import { ResourceHandler } from '../auth'; import { ResourceHandler } from '../auth';
......
import m from 'mithril'; import m from 'mithril';
// eslint-disable-next-line import/extensions
import { apiUrl } from 'networkConfig';
import ItemView from '../views/itemView'; import ItemView from '../views/itemView';
import { Property } from '../views/elements'; import { Property } from '../views/elements';
......
...@@ -29,7 +29,7 @@ export default class EditView extends ItemView { ...@@ -29,7 +29,7 @@ export default class EditView extends ItemView {
* @param {object} embedded [any embedding query that should be added * @param {object} embedded [any embedding query that should be added
* to API requests for this resource] * to API requests for this resource]
*/ */
constructor(vnode,) { constructor(vnode) {
super(vnode); super(vnode);
// the form is valid in case that the item controller is in edit mode // the form is valid in case that the item controller is in edit mode
const validInitially = this.controller.modus === 'edit'; const validInitially = this.controller.modus === 'edit';
......
import m from 'mithril'; import m from 'mithril';
import { IconButton, Toolbar, ToolbarTitle, Dialog, Button } from 'polythene-mithril'; import { IconButton, Toolbar, Dialog, Button } from 'polythene-mithril';
import { ButtonCSS } from 'polythene-css'; import { ButtonCSS } from 'polythene-css';
import { colors } from '../style'; import { colors } from '../style';
import { loadingScreen } from '../layout'; import { loadingScreen } from '../layout';
......
Supports Markdown
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