mirror of
https://github.com/strapi/strapi.git
synced 2025-08-07 16:29:18 +00:00
Remove tooltip for delete event
Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
parent
0528ab9c19
commit
1fcbb15143
@ -57,7 +57,7 @@ const EventInput = ({ onChange, name: inputName, value: inputValue }) => {
|
|||||||
<tr>
|
<tr>
|
||||||
<td />
|
<td />
|
||||||
{headersName.map(header => {
|
{headersName.map(header => {
|
||||||
if (header.includes('app.utils')) {
|
if (header === 'app.utils.publish' || header === 'app.utils.unpublish') {
|
||||||
return (
|
return (
|
||||||
<FormattedMessage id="Settings.webhooks.event.publish-tooltip" key={header}>
|
<FormattedMessage id="Settings.webhooks.event.publish-tooltip" key={header}>
|
||||||
{msg => (
|
{msg => (
|
||||||
|
@ -258,9 +258,7 @@ exports[`<EventInput /> should match the snapshot 1`] = `
|
|||||||
Update
|
Update
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td>
|
||||||
title="This event only exists for contents with Draft/Publish system enabled"
|
|
||||||
>
|
|
||||||
<span>
|
<span>
|
||||||
Delete
|
Delete
|
||||||
</span>
|
</span>
|
||||||
|
@ -292,9 +292,7 @@ exports[`<Inputs /> should match the snapshot if type is events 1`] = `
|
|||||||
Update
|
Update
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td>
|
||||||
title="This event only exists for contents with Draft/Publish system enabled"
|
|
||||||
>
|
|
||||||
<span>
|
<span>
|
||||||
Delete
|
Delete
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user