Skip to content

Commit

Permalink
fix Lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Holger Dehnhardt <holger@dehnhardt.org>
  • Loading branch information
dehnhardt committed Aug 19, 2020
1 parent f5bb6a3 commit 9f5a9eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/mutations.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export default {
folders.forEach((folder) => {
// Add all folders (including subfolders to state, but only toplevel to account
const folderPath = atob(folder.id)
const lastSeparatorIndex =
folderPath.lastIndexOf(folder.delimiter) > 0 ? folderPath.lastIndexOf(folder.delimiter) + 1 : 0
const lastSeparatorIndex
= folderPath.lastIndexOf(folder.delimiter) > 0 ? folderPath.lastIndexOf(folder.delimiter) + 1 : 0
folder.displayName = folderPath.substr(lastSeparatorIndex)
folder.path = folderPath.substr(0, lastSeparatorIndex)
const id = addToState(folder)
Expand Down

0 comments on commit 9f5a9eb

Please sign in to comment.