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

     1  /**
     2   * Copyright (c) HashiCorp, Inc.
     3   * SPDX-License-Identifier: MPL-2.0
     4   */
     5  
     6  import { LinkComponent } from '@ember/legacy-built-in-components';
     7  import classic from 'ember-classic-decorator';
     8  
     9  // Necessary for programmatic routing away pages with <LinkTo>s that contain @query properties.
    10  // (There's an issue with query param calculations in the new component that uses the router service)
    11  // https://github.com/emberjs/ember.js/issues/20051
    12  
    13  @classic
    14  export default class SafeLinkToComponent extends LinkComponent {}