Updated Script to show below, but it does NOTHING. For a while when I didn't put the script, but put it in a conditional app, the only things that showed up was the @with the app name for the conditional menu, but if I post the script below, it is blank. Very odd.
<div id="navMenuConditional"></div>
<script>
document.addEventListener('DataPageReady', function (event) {
if ('[@authfield:Sarasota_Users_1_Role]' == 'Finance') {
document.querySelector('#navMenuConditional').innerHTML = '[@app:FiscalNavigation2022]'
} else if ('[@authfield:Sarasota_Users_1_Role]' == 'Cost Center') {
document.querySelector('#navMenuConditional').innerHTML = '[@app:CostCenterNavigation2022]'
}
});
</script>