diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2018-08-20 15:26:34 +0200 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2018-08-20 15:27:22 +0200 |
commit | b5ef7652b4a5b778a4c768bda19ac67da0ee2104 (patch) | |
tree | cdd6ba8993f782d4e74b0576df1fdf8bcaec2ba7 | |
parent | 9b4b7a2e98433b58fc4b6d8e0846e787cf6e3c55 (diff) | |
download | gitlab-ce-b5ef7652b4a5b778a4c768bda19ac67da0ee2104.tar.gz |
Lint fixes
-rw-r--r-- | app/assets/javascripts/notes/components/note_actions.vue | 1 | ||||
-rw-r--r-- | spec/javascripts/notes/stores/getters_spec.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/components/note_actions.vue b/app/assets/javascripts/notes/components/note_actions.vue index 9122ba2a714..c69d7ccdd91 100644 --- a/app/assets/javascripts/notes/components/note_actions.vue +++ b/app/assets/javascripts/notes/components/note_actions.vue @@ -30,6 +30,7 @@ export default { noteUrl: { type: String, required: false, + default: '', }, accessLevel: { type: String, diff --git a/spec/javascripts/notes/stores/getters_spec.js b/spec/javascripts/notes/stores/getters_spec.js index f89025b2866..7f8ede51508 100644 --- a/spec/javascripts/notes/stores/getters_spec.js +++ b/spec/javascripts/notes/stores/getters_spec.js @@ -93,7 +93,7 @@ describe('Getters Notes Store', () => { describe('notesById', () => { it('should return the note for the given id', () => { - expect(getters.notesById(state)).toEqual({ '1390': individualNote.notes[0] }); + expect(getters.notesById(state)).toEqual({ 1390: individualNote.notes[0] }); }); }); |