diff options
author | Phil Hughes <me@iamphill.com> | 2017-06-01 18:03:48 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-01 18:03:48 +0300 |
commit | b6e39b02d5985eb2bda8b1f93e05c6c5281b2f3a (patch) | |
tree | 7288191e8582376c4f9f860032f4b3c325961f2e /app/assets/javascripts/boards/components/board.js | |
parent | 8f5da962a363389c606d1f8427fcc36286ea2285 (diff) |
changed the icon for the collapsed backlog list
[ci skip]
Diffstat (limited to 'app/assets/javascripts/boards/components/board.js')
-rw-r--r-- | app/assets/javascripts/boards/components/board.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/javascripts/boards/components/board.js b/app/assets/javascripts/boards/components/board.js index 06c28baf5cb..adb7360327c 100644 --- a/app/assets/javascripts/boards/components/board.js +++ b/app/assets/javascripts/boards/components/board.js @@ -87,7 +87,10 @@ gl.issueBoards.Board = Vue.extend({ toggleExpanded(e) { if (this.list.isExpandable && !e.target.classList.contains('js-no-trigger-collapse')) { this.list.isExpanded = !this.list.isExpanded; - localStorage.setItem(`boards.${this.boardId}.${this.list.type}.expanded`, this.list.isExpanded); + + if (AccessorUtilities.isLocalStorageAccessSafe()) { + localStorage.setItem(`boards.${this.boardId}.${this.list.type}.expanded`, this.list.isExpanded); + } } }, }, |