mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-20 05:23:15 -04:00
bring back the settings ui (#4691)
This commit is contained in:
1 parent
6d8edc2986
commit
0a46ef0b0b
3 files changed
+9
-9
No files matched your search
@@ -0,0 +1,5 @@
|
||||
Bugfix: Bring back the settings UI in Web
|
||||
|
||||
We've fixed the oC Web configuration in oCIS so that the settings UI will be shown again in Web.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4691
|
||||
@@ -49,6 +49,10 @@ func DefaultConfig() *config.Config {
|
||||
},
|
||||
Apps: []string{"files", "search", "text-editor", "pdf-viewer", "external", "user-management"},
|
||||
ExternalApps: []config.ExternalApp{
|
||||
{
|
||||
ID: "settings",
|
||||
Path: "/settings.js",
|
||||
},
|
||||
{
|
||||
ID: "preview",
|
||||
Path: "web-app-preview",
|
||||
|
||||
@@ -73,15 +73,6 @@ func (p Web) getPayload() (payload []byte, err error) {
|
||||
p.config.Web.Config.Theme = p.config.Web.ThemePath
|
||||
}
|
||||
|
||||
if p.config.Web.Config.ExternalApps == nil {
|
||||
p.config.Web.Config.ExternalApps = []config.ExternalApp{
|
||||
{
|
||||
ID: "settings",
|
||||
Path: "/settings.js",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
// make apps render as empty array if it is empty
|
||||
// TODO remove once https://github.com/golang/go/issues/27589 is fixed
|
||||
if len(p.config.Web.Config.Apps) == 0 {
|
||||
|
||||
Reference in new issue
Block a user