- {this.state.layer == "single" &&
- this._sliceCurrentData(currentPageData).map((item) => (
-
- {item.map((data, index) => (
-
- ))}
-
- ))}
-
- {this.state.layer == "multiple" &&
- currentPageData.map((data, index) => (
-
- ))}
-
- {this.state.layer == "block" && currentPageData.length != 0 && (
-
-
- {__("Title")}
-
-
-
- {__("Publish")}{" "}
-
-
-
- )}
-
- {this.state.layer == "block" &&
- currentPageData.map((data, index) => (
-
- ))}
-
- {currentPageData.length === 0 && (
-
-
- {" "}
- {this.state.notFoundMessage}{" "}
-
-
- )}
-