mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-12 19:31:11 +01:00
* license: update headers to IBM Corp. * `make proto` * update offset because source file changed Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
20 lines
338 B
JavaScript
20 lines
338 B
JavaScript
/**
|
|
* Copyright IBM Corp. 2016, 2025
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import Service from '@ember/service';
|
|
import { tracked } from '@glimmer/tracking';
|
|
|
|
export default class ReplicationModeService extends Service {
|
|
@tracked mode = null;
|
|
|
|
getMode() {
|
|
return this.mode;
|
|
}
|
|
|
|
setMode(mode) {
|
|
this.mode = mode;
|
|
}
|
|
}
|