open-nomad/ui/app/services/user-settings.js
2022-01-20 09:54:56 -05:00

10 lines
377 B
JavaScript

import Service from '@ember/service';
import localStorageProperty from 'nomad-ui/utils/properties/local-storage';
export default class UserSettingsService extends Service {
@localStorageProperty('nomadPageSize', 25) pageSize;
@localStorageProperty('nomadLogMode', 'stdout') logMode;
@localStorageProperty('nomadTopoVizPollingNotice', true)
showTopoVizPollingNotice;
}