From 0e312ba929daa0d44f1c292488819406b63fbfb8 Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Wed, 11 Oct 2017 14:56:41 +0900 Subject: [PATCH] Change name Pinn to Pin --- browser/main/NoteList/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index 6c385ec6..9c1b30c6 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -284,7 +284,7 @@ class NoteList extends React.Component { return folderNoteKeyList.map((uniqueKey) => data.noteMap.get(uniqueKey)) } - sortByPinn (unorderedNotes) { + sortByPin (unorderedNotes) { const { data, params } = this.props let storageKey = params.storageKey let folderKey = params.folderKey @@ -494,7 +494,7 @@ class NoteList extends React.Component { ? sortByAlphabetical : sortByUpdatedAt const sortedNotes = this.getNotes().sort(sortFunc) - this.notes = notes = this.sortByPinn(sortedNotes) + this.notes = notes = this.sortByPin(sortedNotes) .filter((note) => { // this is for the trash box if (note.isTrashed !== true || location.pathname === '/trashed') return true