mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 10:58:26 +00:00
Remove old ui code in frontend
This commit is contained in:
@ -3,7 +3,6 @@ module Main exposing (init, main)
|
||||
import Api
|
||||
import App.Data exposing (..)
|
||||
import App.Update exposing (..)
|
||||
import App.View
|
||||
import App.View2
|
||||
import Browser exposing (Document)
|
||||
import Browser.Navigation exposing (Key)
|
||||
@ -74,12 +73,7 @@ viewDoc model =
|
||||
in
|
||||
{ title = model.flags.config.appName ++ ": " ++ title
|
||||
, body =
|
||||
if model.flags.config.uiVersion == 2 then
|
||||
App.View2.view model
|
||||
|
||||
else
|
||||
[ App.View.view model
|
||||
]
|
||||
App.View2.view model
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user