To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Verified Commit 8cb718eb authored by Hermann's avatar Hermann Committed by Sandro Lutz
Browse files

update to new ui-components

parent c562805d
import m from 'mithril';
import { fileInput } from 'amiv-web-ui-components';
import { FileInput } from 'amiv-web-ui-components';
import { RadioGroup, Button, List, ListTile } from 'polythene-mithril';
import EditView from '../views/editView';
......@@ -64,7 +64,7 @@ export default class editDoc extends EditView {
m(List, {
tiles: this.form.data.files.map(file => m(ListTile, {
content: [
m(fileInput, this.form.bind({
m(FileInput, this.form.bind({
name: 'new_file',
label: `${file.name}`,
})),
......
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