mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-15 17:47:53 +00:00
fixed page load for space
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
import 'package:syncrow_web/pages/spaces_management/model/community_model.dart';
|
||||
import 'package:syncrow_web/pages/spaces_management/model/space_model.dart';
|
||||
|
||||
abstract class SpaceManagementState extends Equatable {
|
||||
const SpaceManagementState();
|
||||
@ -21,7 +22,14 @@ class SpaceManagementLoaded extends SpaceManagementState {
|
||||
List<Object> get props => [communities];
|
||||
}
|
||||
|
||||
class SpaceCreationSuccess extends SpaceManagementState {}
|
||||
class SpaceCreationSuccess extends SpaceManagementState {
|
||||
final List<SpaceModel> spaces;
|
||||
|
||||
const SpaceCreationSuccess({required this.spaces});
|
||||
|
||||
@override
|
||||
List<Object> get props => [spaces];
|
||||
}
|
||||
|
||||
class SpaceManagementError extends SpaceManagementState {
|
||||
final String errorMessage;
|
||||
|
Reference in New Issue
Block a user