Project

General

Profile

Actions

Bug #12233

open

react state does not resetting when device danger zone(Delete or disenroll) confirmation used once

Added by Arshana Atapattu 6 days ago. Updated 1 day ago.

Status:
New
Priority:
High
Assignee:
Start date:
15/11/2024
Due date:
% Done:

0%

Estimated time:
Device Type:
Component:
Type:
UI

Description

Environment details
620 staging server

Prerequisites
Enrolled device

Steps
select the device from all device page.
disenroll the device
without refreshing the page, try to delete the device
Note: Refer the video [1]
Video is attached to the ticket.

Description
When a device is try to disenroll or delete getting user confirmation is a must.
When the device is disenrolled, user has to give the confirmation. without this confirmation Delete/disenroll buttons are unclickable.
But once user gave this confirmation and page didnt refresh, the state used to check if the user has not resetted.
due to this when a user going to disenroll or delete a device 2nd time, they are not asked for a confirmation

Need to fix this. User must give confirmation every time they are trying to delete or disenroll

Note: Refer the video [1]
Video is attached to the ticket.

Result
Refer the video [1]


Files

vokoscreen-2024-11-15_18-10-41.mkv (1.85 MB) vokoscreen-2024-11-15_18-10-41.mkv [1] Arshana Atapattu, 15/11/2024 12:54 PM
Actions

Also available in: Atom PDF