fix(apps): show scope from device activation in authorize device view

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-05-30 12:07:00 +02:00
parent 5664625c1c
commit c9d20748a4
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 4 additions and 1 deletions

View File

@ -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,
};
} }
}); });