Bug fix for saving a post comment and the post data not being ready.
This commit is contained in:
@@ -364,7 +364,7 @@ if (browser) {
|
||||
// Check if in the array of: super > manager > administrator > trusted > public > authenticated > anonymous
|
||||
const access_type_li = ['super', 'manager', 'administrator', 'trusted', 'public', 'authenticated', 'anonymous'];
|
||||
$effect(() => {
|
||||
if (browser && $ae_loc.access_type && access_type_li.includes($ae_loc.access_type)) {
|
||||
if (browser && $ae_loc.access_type && access_type_li.includes($ae_loc.access_type)) {
|
||||
document.getElementsByTagName('html')[0].classList.remove('super_access', 'manager_access', 'administrator_access', 'trusted_access', 'public_access', 'authenticated_access', 'anonymous_access');
|
||||
document.getElementsByTagName('html')[0].classList.add(`${$ae_loc.access_type}_access`);
|
||||
} else if (browser) {
|
||||
|
||||
Reference in New Issue
Block a user