mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 09:48:21 +01:00
fix setting save bug
This commit is contained in:
parent
62c56eac9f
commit
ee03e07325
@ -530,47 +530,44 @@ namespace OS {
|
||||
};
|
||||
}
|
||||
|
||||
if(!setting.applications.categories)
|
||||
{
|
||||
setting.applications.categories = [
|
||||
{
|
||||
text: "__(Media)",
|
||||
iconclass: "bi bi-disc"
|
||||
},
|
||||
{
|
||||
text: "__(Development)",
|
||||
iconclass: "bi bi-hammer"
|
||||
},
|
||||
{
|
||||
text: "__(Education)",
|
||||
iconclass: "fa fa-graduation-cap"
|
||||
},
|
||||
{
|
||||
text: "__(Game)",
|
||||
iconclass: "fa fa-gamepad"
|
||||
},
|
||||
{
|
||||
text: "__(Graphics)",
|
||||
iconclass: "bi bi-palette-fill"
|
||||
},
|
||||
{
|
||||
text: "__(Internet)",
|
||||
iconclass: "fa fa-globe"
|
||||
},
|
||||
{
|
||||
text: "__(Office)",
|
||||
iconclass: "bi bi-building"
|
||||
},
|
||||
{
|
||||
text: "__(System)",
|
||||
iconclass: "fa bi-gear-wide-connected"
|
||||
},
|
||||
{
|
||||
text: "__(Utility)",
|
||||
iconclass: "bi bi-tools"
|
||||
},
|
||||
]
|
||||
}
|
||||
setting.applications.categories = [
|
||||
{
|
||||
text: "__(Media)",
|
||||
iconclass: "bi bi-disc"
|
||||
},
|
||||
{
|
||||
text: "__(Development)",
|
||||
iconclass: "bi bi-hammer"
|
||||
},
|
||||
{
|
||||
text: "__(Education)",
|
||||
iconclass: "fa fa-graduation-cap"
|
||||
},
|
||||
{
|
||||
text: "__(Game)",
|
||||
iconclass: "fa fa-gamepad"
|
||||
},
|
||||
{
|
||||
text: "__(Graphics)",
|
||||
iconclass: "bi bi-palette-fill"
|
||||
},
|
||||
{
|
||||
text: "__(Internet)",
|
||||
iconclass: "fa fa-globe"
|
||||
},
|
||||
{
|
||||
text: "__(Office)",
|
||||
iconclass: "bi bi-building"
|
||||
},
|
||||
{
|
||||
text: "__(System)",
|
||||
iconclass: "fa bi-gear-wide-connected"
|
||||
},
|
||||
{
|
||||
text: "__(Utility)",
|
||||
iconclass: "bi bi-tools"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
// Register handle for application search
|
||||
|
Loading…
Reference in New Issue
Block a user