diff --git a/public/js/app.js b/public/js/app.js index d3c30bc..82d288a 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -430,6 +430,8 @@ function renderRow(c) { }) : '—'; + const isEditor = state.user && (state.user.role === 'admin' || state.user.role === 'editor'); + const checkbox = isEditor ? `