fix setting save bug

This commit is contained in:
lxsang 2021-03-31 23:56:29 +02:00
parent 62c56eac9f
commit ee03e07325

View File

@ -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