+import { peertubeLocalStorage } from '@app/shared/misc/peertube-local-storage'
import { LazyLoadEvent } from 'primeng/components/common/lazyloadevent'
import { SortMeta } from 'primeng/components/common/sortmeta'
protected abstract loadData (): void
loadSort () {
- const result = localStorage.getItem(this.sortLocalStorageKey)
+ const result = peertubeLocalStorage.getItem(this.sortLocalStorageKey)
if (result) {
try {
}
saveSort () {
- localStorage.setItem(this.sortLocalStorageKey, JSON.stringify(this.sort))
+ peertubeLocalStorage.setItem(this.sortLocalStorageKey, JSON.stringify(this.sort))
}
}