Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Commit 65b797b

Browse files
- review fixes
1 parent 404030a commit 65b797b

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

src/renderer/components/modals/create-note-modal/CreateNoteModal.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2 class="text-red" v-if="displayDupError">Oh sorry, you can't have duplicated
3030
<b-input
3131
type="url"
3232
ref="noteSource"
33-
v-model="note.source"
33+
v-model="note.sourceUrl"
3434
placeholder="Source">
3535
</b-input>
3636
</b-field>

src/renderer/components/modals/create-note-modal/CreateNoteModal.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626
name: '',
2727
description: '',
2828
files: {},
29-
source: '',
29+
sourceUrl: '',
3030
public: false,
3131
updatedAt: null,
3232
createdAt: null,
@@ -68,7 +68,6 @@ export default {
6868
this.note.name = `${noteType}:${generateNoteName()}`;
6969
}
7070
71-
console.log(this.note)
7271
this.addNote(this.note).then(() => {
7372
this.$parent.close();
7473
});

src/renderer/components/modals/update-note-modal/UpdateNoteModal.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2 class="text-red" v-if="displayDupError">Oh sorry, you can't have duplicated
3030
<b-input
3131
type="url"
3232
ref="noteSource"
33-
v-model="note.source"
33+
v-model="note.sourceUrl"
3434
placeholder="Source">
3535
</b-input>
3636
</b-field>

src/renderer/components/modals/update-note-modal/UpdateNoteModal.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default {
1717
noteUpdated: {
1818
name: '',
1919
description: '',
20-
source: '',
20+
sourceUrl: '',
2121
files: {},
2222
updatedAt: null,
2323
createdAt: null,

src/renderer/components/notes-list/note-card/NoteCard.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3 v-else>{{ note.name }}</h3>
1414
<a id="link-note" v-if="gistsSelected" @click="open(note.url)" title="Show on Github">
1515
<b-icon icon="github"></b-icon>
1616
</a>
17-
<a id="note-source" v-if="note.source" @click="open(note.source)" title="Source">
17+
<a id="note-source" v-if="note.sourceUrl" @click="open(note.sourceUrl)" title="Source">
1818
<b-icon icon="link"></b-icon>
1919
</a>
2020
<a id="update-note" @click="updateNoteModalActive = true" title="Edit note">

0 commit comments

Comments
 (0)