@cloudron/pankow 4.0.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -251,6 +251,10 @@ export default {
251
251
  extractHandler: {
252
252
  type: Function,
253
253
  default() { console.warn('Missing extractHandler for DirectoryView'); }
254
+ },
255
+ refreshHandler: {
256
+ type: Function,
257
+ default() { console.warn('Missing refreshHandler for DirectoryView'); }
254
258
  }
255
259
  },
256
260
  computed: {
@@ -325,6 +329,12 @@ export default {
325
329
  }, {
326
330
  separator:true,
327
331
  visible: () => { return this.showNewFile || this.showNewFolder; },
332
+ }, {
333
+ label: this.tr('filemanager.toolbar.refresh'),
334
+ icon:'fa-solid fa-arrow-rotate-right',
335
+ action: this.refreshHandler,
336
+ }, {
337
+ separator:true,
328
338
  }, {
329
339
  label: this.tr('filemanager.toolbar.newFile'),
330
340
  icon:'fa-solid fa-file-circle-plus',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudron/pankow",
3
3
  "private": false,
4
- "version": "4.0.1",
4
+ "version": "4.1.0",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "types": "types/index.d.ts",