File tree Expand file tree Collapse file tree
main/services/i18n/locales
renderer/components/preferences Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "moveStorage" : " Move Storage" ,
44 "openStorage" : " Open Storage" ,
55 "newStorage" : " New Storage" ,
6+ "reloadStorage" : " Reload Storage" ,
67 "fromMassCodeV1" : " From massCode v1.0" ,
78 "fromSnippetsLab" : " From SnippetsLab" ,
89 "confirm" : " Confirm" ,
Original file line number Diff line number Diff line change 33 "moveStorage" : " Переместить" ,
44 "openStorage" : " Открыть" ,
55 "newStorage" : " Создать новое" ,
6+ "reloadStorage" : " Перезагрузить" ,
67 "fromMassCodeV1" : " Из massCode v1.0" ,
78 "fromSnippetsLab" : " Из SnippetsLab" ,
89 "confirm" : " Подтвердить" ,
Original file line number Diff line number Diff line change 1717 <AppButton @click =" onClickNew" >
1818 {{ i18n.t('button.newStorage') }}
1919 </AppButton >
20+ <AppButton @click =" onClickReload" >
21+ {{ i18n.t('button.reloadStorage') }}
22+ </AppButton >
2023 </template >
2124 <template #desc >
2225 {{ i18n.t('special:description.storage') }}
@@ -210,6 +213,11 @@ const resetStore = () => {
210213 snippetStore .$reset ()
211214 folderStore .$reset ()
212215}
216+
217+ const onClickReload = () => {
218+ ipc .invoke (' main:restart-api' , {})
219+ snippetStore .getSnippets ()
220+ }
213221 </script >
214222
215223<style lang="scss" scoped></style >
You can’t perform that action at this time.
0 commit comments