mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
change some padding and when bake to AccessManagementPage get table
This commit is contained in:
@ -72,6 +72,8 @@ class AccessBloc extends Bloc<AccessEvent, AccessState> {
|
||||
|
||||
|
||||
Future<void> selectTime(SelectTime event, Emitter<AccessState> emit) async {
|
||||
emit(AccessLoaded());
|
||||
|
||||
final DateTime? picked = await showDatePicker(
|
||||
context: event.context,
|
||||
initialDate: DateTime.now(),
|
||||
@ -182,6 +184,8 @@ class AccessBloc extends Bloc<AccessEvent, AccessState> {
|
||||
endTime = 'End Time';
|
||||
passwordName.clear();
|
||||
selectedIndex=0;
|
||||
effectiveTimeTimeStamp=null;
|
||||
expirationTimeTimeStamp=null;
|
||||
add(FetchTableData());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user