Skip to content

Commit

Permalink
Revert "[#464] Add new control message"
Browse files Browse the repository at this point in the history
This reverts commit 59cca54.
  • Loading branch information
danielmursa-dev committed Jan 2, 2025
1 parent 59cca54 commit fb2cce6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/objects/js/components/admin/permissions/auth-fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,6 @@ const authFields = (object_fields, dataFields, fields, setFields) => {
};

const versionAuthFields = (objectType, objectFields, dataFieldChoices, fields, setFields) => {
if (Object.keys(dataFieldChoices).length === 0) {
return (
<div className="errornote">
<p>ObjectTypes API is not reachable. Field-based authorization is impossible</p>
</div>
);
}

if (!(objectType in dataFieldChoices)) {
return (
<div className="errornote">
Expand Down

0 comments on commit fb2cce6

Please sign in to comment.