forked from DebaucheryLibrarian/traxxx
13 lines
394 B
JavaScript
13 lines
394 B
JavaScript
const storedFilter = localStorage.getItem('filter');
|
|
const storedBatch = localStorage.getItem('batch');
|
|
const storedSfw = localStorage.getItem('sfw');
|
|
const storedTheme = localStorage.getItem('theme');
|
|
|
|
export default {
|
|
filter: storedFilter ? storedFilter.split(',') : [],
|
|
range: 'latest',
|
|
batch: storedBatch || 'all',
|
|
sfw: storedSfw === 'true' || false,
|
|
theme: storedTheme || 'light',
|
|
};
|