TF-2188 Allow editable waiting/running/canceled status
(cherry picked from commit 04af1331106afb2df676fac5fefbd2b086187a38)
This commit is contained in:
@@ -107,6 +107,10 @@ class SendingEmail with EquatableMixin {
|
||||
|
||||
bool get isCanceled => sendingState == SendingState.canceled;
|
||||
|
||||
bool get isRunning => sendingState == SendingState.running;
|
||||
|
||||
bool get isEditableSupported => isWaiting || isRunning || isCanceled;
|
||||
|
||||
@override
|
||||
List<Object?> get props => [
|
||||
sendingId,
|
||||
|
||||
Reference in New Issue
Block a user