2020-03-31 00:33:20 +00:00
|
|
|
import Service from '@ember/service';
|
|
|
|
import localStorageProperty from 'nomad-ui/utils/properties/local-storage';
|
|
|
|
|
2020-06-10 13:49:16 +00:00
|
|
|
export default class UserSettingsService extends Service {
|
|
|
|
@localStorageProperty('nomadPageSize', 25) pageSize;
|
2020-07-01 00:09:52 +00:00
|
|
|
@localStorageProperty('nomadLogMode', 'stdout') logMode;
|
2021-12-28 16:08:12 +00:00
|
|
|
@localStorageProperty('nomadTopoVizPollingNotice', true)
|
|
|
|
showTopoVizPollingNotice;
|
2020-06-10 13:49:16 +00:00
|
|
|
}
|