Charlie Tran 5072ef013c
feat(frontend): Module consolidation - clean up for OS logic - init virtual assistant (#1821)
* Module consolidation on datahub-web - clean up to some OS logic from previous update - initial implementation of virtual assistant

* Fix accidental change to datahub user module license
2020-08-28 10:31:15 -07:00

13 lines
473 B
Handlebars

{{#if @options.linkModels}}
<LinkTo class="foxie__link-button" @route={{@options.linkTo}} @models={{@options.linkModels}}>
{{@options.text}}
</LinkTo>
{{else}}
{{!-- Needed to be completely separated since even having the parameter defined as undefined will throw an error
because of how ember handles LinkTo
--}}
<LinkTo class="foxie__link-button" @route={{@options.linkTo}} @model={{@options.linkModel}}>
{{@options.text}}
</LinkTo>
{{/if}}