File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,8 @@ import FileProcessor from '@/renderer/class/FileProcessor';
33
33
import FileDirectory from ' @/renderer/components/FileDirectory' ;
34
34
import { EventBus } from ' @/renderer/class/EventBus' ;
35
35
import { mapState } from ' vuex' ;
36
- import { ipcMain , ipcRenderer } from ' electron' ;
36
+ import { ipcRenderer } from ' electron' ;
37
37
import { EVENTS } from ' ../../contents' ;
38
- const fs = require (' fs' );
39
38
40
39
41
40
export default {
@@ -48,7 +47,6 @@ export default {
48
47
data () {
49
48
return {
50
49
directory: FileProcessor .getDirectory (),
51
- rawFiles: null ,
52
50
active: null ,
53
51
dialog: false ,
54
52
loadingFiles: false ,
@@ -108,7 +106,7 @@ export default {
108
106
*/
109
107
filter ($event ) {
110
108
FileProcessor .setNameFilter ($event);
111
- this .directory = FileProcessor .generateDirectories (this . rawFiles );
109
+ this .directory = FileProcessor .generateDirectories ();
112
110
},
113
111
/**
114
112
* Sets the currently selected file
You can’t perform that action at this time.
0 commit comments