mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-25 17:28:05 +00:00
fix(apps): show scope from device activation in authorize device view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
5664625c1c
commit
c9d20748a4
1 changed files with 4 additions and 1 deletions
|
@ -89,7 +89,10 @@ const application = ref<IApplication | null>(null);
|
|||
onDeviceActivationDone(({ data }) => {
|
||||
const foundApplication = data?.deviceActivation?.application;
|
||||
if (foundApplication) {
|
||||
application.value = foundApplication;
|
||||
application.value = {
|
||||
...foundApplication,
|
||||
scope: data?.deviceActivation?.scope,
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue