Skip to content

Commit

Permalink
IOS-2617 Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mgolovko committed Apr 10, 2024
1 parent ab86b50 commit 9817b07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ struct EditorSetView: View {
EditorSetEmptyView(
model: EditorSetEmptyViewModel(
mode: model.setDocument.isCollection() ? .collection : .set,
allowTap: model.setDocument.setPermissions.canCreateObject,
allowTap: model.setDocument.isCollection() ? model.setDocument.setPermissions.canCreateObject : model.setDocument.setPermissions.canChangeQuery,
onTap: { model.onEmptyStateButtonTap() }
)
)
Expand Down

0 comments on commit 9817b07

Please sign in to comment.