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
|
@ -89,7 +89,10 @@ const application = ref<IApplication | null>(null);
|
||||||
onDeviceActivationDone(({ data }) => {
|
onDeviceActivationDone(({ data }) => {
|
||||||
const foundApplication = data?.deviceActivation?.application;
|
const foundApplication = data?.deviceActivation?.application;
|
||||||
if (foundApplication) {
|
if (foundApplication) {
|
||||||
application.value = foundApplication;
|
application.value = {
|
||||||
|
...foundApplication,
|
||||||
|
scope: data?.deviceActivation?.scope,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue