{{#if editing}}
{{#if sources.length}} {{#each sources as |source|}} {{form-sources-row source=source namespace=namespace remove=(action "removeSource") }} {{/each}}
{{/if}}
{{else}} {{#sortable-table classNames="grid fixed mb-0 sortable-table" bulkActions=false rowActions=false paging=false search=true sortBy=sortBy stickyHeader=false descending=descending headers=headers body=sources as |sortable kind source| }} {{#if (eq kind "row")}} {{source.source}} {{#if (eq source.source "configMap")}} {{#link-to "authenticated.project.config-maps.detail" (concat namespace.id ":" source.sourceName)}} {{source.sourceName}} {{/link-to}} {{else}} {{source.sourceName}} {{/if}} {{#if source.sourceKey}} {{source.sourceKey}} {{else}} {{t 'generic.all'}} {{/if}} {{source.targetKey}} {{else if (eq kind "nomatch")}} {{t 'formSources.noMatch'}} {{else if (eq kind "norows")}} {{t 'formSources.noData'}} {{/if}} {{/sortable-table}} {{/if}}