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

Commit 43e3b275 authored by Hermann's avatar Hermann
Browse files

change to relationlist

parent 348f22fe
......@@ -12,7 +12,7 @@ import { apiUrl } from 'networkConfig';
import ItemView from '../views/itemView';
import { eventsignups as signupConfig } from '../resourceConfig.json';
import TableView from '../views/tableView';
import DatalistController from '../listcontroller';
import RelationlistController from '../relationlistcontroller';
import { dateFormatter } from '../utils';
import { icons, DropdownCard, Property, chip } from '../views/elements';
import { ResourceHandler } from '../auth';
......@@ -70,10 +70,7 @@ class DuoLangProperty {
// waiting list.
class ParticipantsTable {
constructor({ attrs: { where } }) {
this.ctrl = new DatalistController('eventsignups', {
embedded: { user: 1 },
where,
}, ['email', 'user.firstname', 'user.lastname'], false);
this.ctrl = new RelationlistController('eventsignups', 'users', { where }, ['email']);
}
getItemData(data) {
......
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