github.com/hernad/nomad@v1.6.112/ui/app/components/conditional-link-to.js (about)

     1  /**
     2   * Copyright (c) HashiCorp, Inc.
     3   * SPDX-License-Identifier: MPL-2.0
     4   */
     5  
     6  import Component from '@glimmer/component';
     7  
     8  export default class ConditionalLinkToComponent extends Component {
     9    get query() {
    10      return this.args.query || {};
    11    }
    12  }