fix: prevent URL change on clicking unconfigured association field (#4919)

This commit is contained in:
Zeke Zhang 2024-07-25 10:50:22 +08:00 committed by GitHub
parent 09e3cb4996
commit ac3d6d91b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,10 +98,15 @@ const ButtonLinkList: FC<ButtonListProps> = (props) => {
if (designable) { if (designable) {
insertViewer(schema.Viewer); insertViewer(schema.Viewer);
} }
openPopup({
recordData: record, // fix https://nocobase.height.app/T-4794/description
parentRecordData: recordData, if (fieldSchema.properties) {
}); openPopup({
recordData: record,
parentRecordData: recordData,
});
}
ellipsisWithTooltipRef?.current?.setPopoverVisible(false); ellipsisWithTooltipRef?.current?.setPopoverVisible(false);
}} }}
> >