diff --git a/index.html b/index.html index 608494f..fac2e91 100644 --- a/index.html +++ b/index.html @@ -1260,7 +1260,7 @@ function renderSheetView(details = {}) { const { sheetId, title, description, editors, attributes, sheet, onlyRenderTable = false, lazyLoad = false } = details - const isWriteable = !editors || editors.includes(myFloID) + const isWriteable = !editors || editors.includes(myFloID) || floGlobals.isSubAdmin if (!lazyLoad) floGlobals.currentSheet = { sheetId, title, description, editors, attributes, sheet, } if (lazyLoad) { @@ -1279,7 +1279,7 @@ let addLogRow = null //Add input fields if writable if (isWriteable && !lazyLoad) { - const blockEditingID = editors ? false: !floGlobals.isSubAdmin; + const blockEditingID = editors ? false : !floGlobals.isSubAdmin; addLogRow = html`