@@ -28,7 +28,6 @@ import axios from '@nextcloud/axios'
2828
2929import {
3030 SET_SHOW_AUTHOR_ANNOTATIONS ,
31- SET_CURRENT_SESSION ,
3231 SET_VIEW_WIDTH ,
3332 SET_HEADINGS ,
3433 SET_ATTACHMENT_LIST ,
@@ -42,7 +41,6 @@ Vue.use(Vuex)
4241export const textModule = {
4342 state : {
4443 showAuthorAnnotations : persistentStorage . getItem ( 'showAuthorAnnotations' ) === 'true' ,
45- currentSession : persistentStorage . getItem ( 'currentSession' ) ,
4644 viewWidth : getClientWidth ( ) ,
4745 headings : Object . freeze ( [ ] ) ,
4846 attachmentList : [ ] ,
@@ -59,10 +57,6 @@ export const textModule = {
5957 state . showAuthorAnnotations = value
6058 persistentStorage . setItem ( 'showAuthorAnnotations' , '' + value )
6159 } ,
62- [ SET_CURRENT_SESSION ] ( state , value ) {
63- state . currentSession = value
64- persistentStorage . setItem ( 'currentSession' , value )
65- } ,
6660 [ SET_HEADINGS ] ( state , value ) {
6761 if ( state . headings . length !== value . length ) {
6862 state . headings = Object . freeze ( value )
@@ -90,9 +84,6 @@ export const textModule = {
9084 setShowAuthorAnnotations ( { commit } , value ) {
9185 commit ( SET_SHOW_AUTHOR_ANNOTATIONS , value )
9286 } ,
93- setCurrentSession ( { commit } , value ) {
94- commit ( SET_CURRENT_SESSION , value )
95- } ,
9687 setHeadings ( { commit } , value ) {
9788 commit ( SET_HEADINGS , value )
9889 } ,
0 commit comments