mirror of
https://github.com/discourse/discourse-table-builder.git
synced 2025-06-28 03:12:20 +00:00
This reverts commit 2896c69a727f18414afe2d4799cde5efbb0c1293.
This commit is contained in:
parent
2896c69a72
commit
55c80ed04f
@ -73,9 +73,6 @@ export default apiInitializer("0.11.1", (api) => {
|
|||||||
|
|
||||||
api.decorateCookedElement(
|
api.decorateCookedElement(
|
||||||
(post, helper) => {
|
(post, helper) => {
|
||||||
if (!helper || !post) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const canEdit = helper.widget.attrs.canEdit;
|
const canEdit = helper.widget.attrs.canEdit;
|
||||||
|
|
||||||
if (!canEdit) {
|
if (!canEdit) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user