From f28246c217c86cab24e317abd1e4b91ecf0016a5 Mon Sep 17 00:00:00 2001 From: kevinthon Date: Wed, 13 Nov 2024 14:20:03 +0100 Subject: [PATCH] kosmetikk --- R/appServer.R | 7 ------- R/appUi.R | 4 ---- 2 files changed, 11 deletions(-) diff --git a/R/appServer.R b/R/appServer.R index e4795b2..3e8f78f 100644 --- a/R/appServer.R +++ b/R/appServer.R @@ -31,14 +31,7 @@ appServer <- function(input, output, session) { brukerinfo$fullname[match(RegData$OppfForstLukketAv, brukerinfo$ID)] BrValg <- norgast::BrValgNorgastShiny(RegData) - # if (rapbase::isRapContext()) { rapbase::appLogger(session = session, msg = 'Starter NORGAST') - # reshID <- rapbase::getUserReshId(session) - # userRole <- rapbase::getUserRole(session) - # } else { - # reshID <- 601225 - # userRole <- 'SC' - # } shiny::observeEvent( shiny::req(user$role()), { diff --git a/R/appUi.R b/R/appUi.R index 10a1101..0c96d21 100644 --- a/R/appUi.R +++ b/R/appUi.R @@ -22,10 +22,6 @@ appUi <- function() { shiny::tabPanel( "Startside", - # shinyjs::useShinyjs(), - # rapbase::appNavbarUserWidget(user = uiOutput("appUserName"), - # organization = uiOutput("appOrgName"), - # addUserInfo = TRUE), rapbase::navbarWidgetInput("navbar-widget", selectOrganization = TRUE), norgast::startside_UI("startside")