parent
4955b831a8
commit
364af3ea61
6
public/js/app.js
vendored
6
public/js/app.js
vendored
@ -36869,10 +36869,6 @@ function PageForm(_ref) {
|
||||
content = _React$useState2[0],
|
||||
setContent = _React$useState2[1];
|
||||
|
||||
function updateContent(content) {
|
||||
setContent(content);
|
||||
}
|
||||
|
||||
var onSubmit = function onSubmit(event) {
|
||||
return __awaiter(_this, void 0, void 0, /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() {
|
||||
var HTMLForm, decryptedFormData, encryptedFormData, _iterator, _step, _step$value, key, value, newEncryptedString, response, json, uuid, _iterator2, _step2, _key, _newEncryptedString, savedDate, oSavedDate;
|
||||
@ -37073,7 +37069,7 @@ function Pages(_ref) {
|
||||
loadPages = _ref.loadPages,
|
||||
setAllLoaded = _ref.setAllLoaded;
|
||||
var isPassphraseSet = passphrase !== null;
|
||||
var perPage = 3;
|
||||
var perPage = 1;
|
||||
var total = pages.length;
|
||||
var numberOfPage = Math.ceil(total / perPage);
|
||||
|
||||
|
@ -7,7 +7,7 @@ import {isAllLoadedLocally} from "../../utils";
|
||||
|
||||
export default function Pages({pages, url, removeUrl, csrf, passphrase, loadPages, setAllLoaded}: IPages) {
|
||||
const isPassphraseSet = passphrase !== null;
|
||||
const perPage = 3;
|
||||
const perPage = 1;
|
||||
const total = pages.length;
|
||||
const numberOfPage = Math.ceil(total/perPage);
|
||||
const [currentPage, setPage] = React.useState(1);
|
||||
|
Loading…
Reference in New Issue
Block a user