Skip to content

Commit

Permalink
LPS-198613 Leave the searchable toggle and character limit disabled i…
Browse files Browse the repository at this point in the history
…n system fields
  • Loading branch information
Artur Souza authored and brianchandotcom committed Dec 24, 2023
1 parent a900c37 commit b34fc5a
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,14 @@ export function RightSidebarObjectFieldDetails() {
let objectField: Partial<ObjectField>;

if (!editedObjectField) {
objectField = values;
objectField = {...values};
}
else {
objectField = editedObjectField;
objectField = {...editedObjectField};
}

delete objectField.defaultValue;
delete objectField.listTypeDefinitionId;
delete objectField.system;

try {
const updatedObjectFieldResponse = await API.save<ObjectField>({
Expand Down

0 comments on commit b34fc5a

Please sign in to comment.