TF-4233 Fix the response success check to use key presence instead of value nullness.
This commit is contained in:
@@ -89,7 +89,7 @@ class LabelController extends BaseController with LabelContextMenuMixin {
|
||||
await DialogRouter().openDialogModal(
|
||||
child: CreateNewLabelModal(
|
||||
labels: labels,
|
||||
onCreateNewLabelCallback: (label) => _createNewLabel(accountId, label),
|
||||
onLabelActionCallback: (label) => _createNewLabel(accountId, label),
|
||||
),
|
||||
dialogLabel: 'create-new-label-modal',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user