enhance(frontend): changed widget icon in header

This commit is contained in:
NoriDev 2023-07-24 17:03:01 +09:00
parent a99b033a78
commit 8d6d7ac109

View file

@ -174,14 +174,14 @@ async function reloadAsk() {
}
const headerActions = $computed(() => [{
icon: friendlyEnableNotifications.value ? 'ti ti-notification-off' : 'ti ti-notification',
icon: friendlyEnableNotifications.value ? 'ti ti-notification' : 'ti ti-notification-off',
text: i18n.ts.friendlyEnableNotifications,
handler: () => {
friendlyEnableNotifications.value = !friendlyEnableNotifications.value;
reloadAsk();
},
}, {
icon: friendlyEnableWidgets.value ? 'ti ti-layout-sidebar-right-collapse' : 'ti ti-layout-sidebar-right-expand',
icon: friendlyEnableWidgets.value ? 'ti ti-apps' : 'ti ti-apps-off',
text: i18n.ts.friendlyEnableWidgets,
handler: () => {
friendlyEnableWidgets.value = !friendlyEnableWidgets.value;