vault/ui/lib/replication/addon/components/known-secondaries-table.js
Hamid Ghaf e55c18ed12
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

24 lines
618 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@ember/component';
/**
* @module KnownSecondariesTable
* KnownSecondariesTable components are used on the Replication Details dashboards
* to display a table of known secondary clusters.
*
* @example
* ```js
* <KnownSecondariesTable @replicationAttrs={{replicationAttrs}} />
* ```
* @param {array} secondaries=null - The array of secondaries from the replication
* status endpoint. Contains the secondary api_address, id and connected_state.
*/
export default Component.extend({
secondaries: null,
});