muffin-admin 6.1.2 → 6.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -103,7 +103,7 @@ function ActionButtonBase({
|
|
|
103
103
|
const PayloadForm = findBuilder(["action-form", id, resource]) || (schema && CommonPayload)
|
|
104
104
|
if (!PayloadForm)
|
|
105
105
|
return (
|
|
106
|
-
<Button label={label} title={title} onClick={onHandle} disabled={isPending}>
|
|
106
|
+
<Button label={label} title={title} onClick={() => onHandle()} disabled={isPending}>
|
|
107
107
|
{buildIcon(icon)}
|
|
108
108
|
</Button>
|
|
109
109
|
)
|
|
@@ -160,11 +160,11 @@ export function CommonPayload({
|
|
|
160
160
|
title={
|
|
161
161
|
help
|
|
162
162
|
? ((
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
163
|
+
<Stack alignItems="flex-start">
|
|
164
|
+
<span>{translate(title, { _: title })}</span>
|
|
165
|
+
<HelpLink href={help} style={{ alignSelf: "flex-end" }} />
|
|
166
|
+
</Stack>
|
|
167
|
+
) as any)
|
|
168
168
|
: translate(title, { _: title })
|
|
169
169
|
}
|
|
170
170
|
actions={
|