File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
components/modals/create-note-modal Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import converter from '@/converter';
8
8
9
9
import Tab from ' ../../tab/Tab' ;
10
10
11
- import { createId } from ' ../../../../ utils' ;
11
+ import { createId } from ' ../../../utils' ;
12
12
13
13
const noteNameCharacters = ' abcdef0123456789' ;
14
14
@@ -34,13 +34,11 @@ export default {
34
34
tags: [],
35
35
},
36
36
files: [],
37
-
38
37
baseFile: {
39
38
name: ' ' ,
40
39
language: ' text' ,
41
40
content: ' ' ,
42
41
},
43
-
44
42
languages,
45
43
displayDupError: false ,
46
44
selectedFile: null ,
@@ -82,8 +80,8 @@ export default {
82
80
this .files .push ({ id: createId (), ... this .baseFile });
83
81
84
82
Object .keys (this .baseFile ).forEach (
85
- k => this .baseFile [k] = k !== ' language' ? ' ' : this .languages [0 ].name )
86
- ;
83
+ k => this .baseFile [k] = k !== ' language' ? ' ' : this .languages [0 ].name
84
+ ) ;
87
85
},
88
86
deleteFile (file ) {
89
87
this .files = this .files .filter (f => f .id !== file .id );
File renamed without changes.
You can’t perform that action at this time.
0 commit comments