mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 13:33:18 +00:00
Added clear cache option
This commit is contained in:
@@ -94,12 +94,6 @@ const helpSubmenu = [
|
|||||||
label: `${appName + 'Desktop'} - ${app.getVersion()}`,
|
label: `${appName + 'Desktop'} - ${app.getVersion()}`,
|
||||||
enabled: false
|
enabled: false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: 'Clear Cache',
|
|
||||||
click() {
|
|
||||||
clearCache();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: 'Report an Issue...',
|
label: 'Report an Issue...',
|
||||||
click() {
|
click() {
|
||||||
@@ -148,6 +142,12 @@ const darwinTpl = [
|
|||||||
{
|
{
|
||||||
type: 'separator'
|
type: 'separator'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Clear Cache',
|
||||||
|
click() {
|
||||||
|
clearCache();
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Log Out',
|
label: 'Log Out',
|
||||||
click(item, focusedWindow) {
|
click(item, focusedWindow) {
|
||||||
@@ -277,6 +277,12 @@ const otherTpl = [
|
|||||||
{
|
{
|
||||||
type: 'separator'
|
type: 'separator'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Clear Cache',
|
||||||
|
click() {
|
||||||
|
clearCache();
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Log Out',
|
label: 'Log Out',
|
||||||
click(item, focusedWindow) {
|
click(item, focusedWindow) {
|
||||||
|
|||||||
Reference in New Issue
Block a user