mirror of
https://github.com/status-im/consul.git
synced 2025-01-19 18:19:53 +00:00
0e122479fa
* ui: Add auto-pilot/state endpoint usage (merged into DC models) (#12514) * ui: Catalog Health Overview DataSource (#12520)
10 lines
235 B
JavaScript
10 lines
235 B
JavaScript
import { helper } from '@ember/component/helper';
|
|
|
|
export default helper(function(args, hash) {
|
|
try {
|
|
return JSON.stringify(...args);
|
|
} catch(e) {
|
|
return args[0].map(item => JSON.stringify(item, args[1], args[2]));
|
|
}
|
|
});
|