UI: Retrieve permissions when loading collections

This commit is contained in:
Max Berger
2026-04-02 22:30:01 +02:00
parent 1a0bb7dae0
commit 52111c02cf
3 changed files with 137 additions and 70 deletions

View File

@@ -137,7 +137,7 @@ export class CreateEditCollectionScene {
}
let loading_scene = new LoadingScene();
push_scene(loading_scene);
let collection = new Collection(this._href, this._type, this._displayname, this._description, sane_color, 0, 0, this._source);
let collection = new Collection(this._href, this._type, this._displayname, this._description, sane_color, 0, 0, this._source, []);
let callback = (/** @type {?string} */ error1) => {
if (!is_current_scene(loading_scene)) {
return;