Skip to content

Commit

Permalink
lint: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
zjh1943 committed Mar 27, 2023
1 parent baa7252 commit 3e3037b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/AntdDateRangePicker.editorConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ export function getProperties(
): Properties {
// Do the values manipulation here to control the visibility of properties in Studio and Studio Pro conditionally.
if (values.disableDateMode === "off") {
hidePropertiesIn(defaultProperties, values, ["disableDateTemparyToggle", "disableDatesDatasource", "disableDatesAttribute"]);
hidePropertiesIn(defaultProperties, values, [
"disableDateTemparyToggle",
"disableDatesDatasource",
"disableDatesAttribute"
]);
}
if (values.showCustomFooter === false) {
hidePropertyIn(defaultProperties, values, "pannelFooterContent");
Expand Down

0 comments on commit 3e3037b

Please sign in to comment.