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

View file

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