mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
no need for two condtions inside themselves
This commit is contained in:
@ -467,11 +467,9 @@ class UsersPage extends StatelessWidget {
|
||||
return EditUserDialog(user: user);
|
||||
},
|
||||
).then((v) {
|
||||
if (v != null) {
|
||||
if (v != null) {
|
||||
_blocRole.add(const GetUsers());
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
)
|
||||
|
Reference in New Issue
Block a user