consul/ui-v2/app/helpers/object-entries.js
John Cowen dcb9800442
ui: Gateway Addresses (#6075)
- Removes 'type' icons (basically the proxy icon, not the text itself)

- Add support for Mesh Gateways plus their addresses
This adds a 'Mesh Gateway' type label to service and service instance
pages, plus a new 'Addresses' tab if the service is a Mesh Gateway
showing a table of addresses for the service - plus tests
2019-07-05 09:07:25 +01:00

8 lines
177 B
JavaScript

import { helper } from '@ember/component/helper';
export function objectEntries([obj = {}] /*, hash*/) {
return Object.entries(obj);
}
export default helper(objectEntries);