mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
Fixes For the Demo (#190)
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
"os/user"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/wavetermdev/thenextwave/pkg/wavebase"
|
||||
"github.com/wavetermdev/thenextwave/pkg/waveobj"
|
||||
"github.com/wavetermdev/thenextwave/pkg/wstore"
|
||||
)
|
||||
@@ -266,25 +265,6 @@ func applyDefaultSettings(settings *SettingsConfigType) {
|
||||
}
|
||||
}
|
||||
defaultWidgets := []WidgetsConfigType{
|
||||
{
|
||||
Icon: "files",
|
||||
Label: "files",
|
||||
BlockDef: wstore.BlockDef{
|
||||
Meta: map[string]any{
|
||||
wstore.MetaKey_View: "preview",
|
||||
wstore.MetaKey_File: wavebase.GetHomeDir(),
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
Icon: "chart-simple",
|
||||
Label: "chart",
|
||||
BlockDef: wstore.BlockDef{
|
||||
Meta: map[string]any{
|
||||
wstore.MetaKey_View: "plot",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
Icon: "globe",
|
||||
Label: "web",
|
||||
|
||||
Reference in New Issue
Block a user