Add UI for share by token
This commit is contained in:
@@ -20,8 +20,9 @@
|
||||
|
||||
import { Scene, push_scene, pop_scene, scene_stack } from "./scene_manager.js";
|
||||
import { LoadingScene } from "./LoadingScene.js";
|
||||
import { get_principal } from "./api.js";
|
||||
import { get_principal, discover_server_features } from "./api.js";
|
||||
import { CollectionsScene } from "./CollectionsScene.js";
|
||||
import { maybe_enable_sharing_options } from "./ShareCollectionScene.js";
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
@@ -89,6 +90,7 @@ export function LoginScene() {
|
||||
error = error1;
|
||||
user = saved_user;
|
||||
});
|
||||
discover_server_features(saved_user, password, maybe_enable_sharing_options);
|
||||
push_scene(collections_scene, true);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user