@blokkli/editor 2.0.0-alpha.18 → 2.0.0-alpha.19
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/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -145,9 +145,6 @@ function filterVisible(item) {
|
|
|
145
145
|
if (isEditing) {
|
|
146
146
|
return true;
|
|
147
147
|
}
|
|
148
|
-
if (!item.editContext?.isPublished) {
|
|
149
|
-
return false;
|
|
150
|
-
}
|
|
151
148
|
const isVisible = isVisibleByOptions(item, providerEntity.value.language);
|
|
152
149
|
const isVisibleCustom = props.shouldRenderItem ? props.shouldRenderItem(item) : true;
|
|
153
150
|
return isVisible && isVisibleCustom;
|