github.com/hernad/nomad@v1.6.112/ui/app/helpers/async-escape-hatch.js (about) 1 /** 2 * Copyright (c) HashiCorp, Inc. 3 * SPDX-License-Identifier: MPL-2.0 4 */ 5 6 import Helper from '@ember/component/helper'; 7 8 export function asyncEscapeHatch([model, relationship]) { 9 return model[relationship].content; 10 } 11 12 export default Helper.helper(asyncEscapeHatch);