TF-2188 Allow editable waiting/running/canceled status

(cherry picked from commit 04af1331106afb2df676fac5fefbd2b086187a38)
This commit is contained in:
dab246
2023-10-05 15:50:49 +07:00
committed by Dat H. Pham
parent 2478fa4b56
commit 928bc6cd78
3 changed files with 6 additions and 2 deletions
@@ -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,