adds list editor

This commit is contained in:
Christian Beutel
2024-09-08 15:11:19 +02:00
parent 84873ce5b9
commit da658fdf27
23 changed files with 751 additions and 105 deletions

View File

@@ -15,6 +15,7 @@ export class List {
constructor(name: string, trails: Trail[], params?: { description?: string, avatar?: string, author?: string }) {
this.name = name;
this.expand = { trails: trails };
this.trails = trails.map(t => t.id!);
this.description = params?.description;
this.avatar = params?.description;
this.author = params?.author;