open-nomad/ui/app/services/user-settings.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
455 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2020-03-31 00:33:20 +00:00
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;
2021-12-28 16:08:12 +00:00
@localStorageProperty('nomadTopoVizPollingNotice', true)
showTopoVizPollingNotice;
}