[importer] Fix issue with missing trailing slash
Would create table with default names like:
default?sourcetype=hive.query-hive-360
@@ -773,12 +773,12 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, get_ord
% if ENABLE_NEW_CREATE_TABLE.get():
<!-- ko if: sourceType === 'hive' || sourceType === 'impala' -->
<!-- ko if: typeof databaseName !== 'undefined' -->
- <a class="inactive-action" data-bind="hueLink: '${ url('indexer:importer_prefill', source_type='all', target_type='table') }' + databaseName + '?sourceType=' + sourceType" title="${_('Create table')}" href="javascript:void(0)">
+ <a class="inactive-action" data-bind="hueLink: '${ url('indexer:importer_prefill', source_type='all', target_type='table') }' + databaseName + '/?sourceType=' + sourceType" title="${_('Create table')}" href="javascript:void(0)">
<i class="pointer fa fa-plus" title="${_('Create table')}"></i>
</a>
<!-- /ko -->
<!-- ko if: typeof databases !== 'undefined' -->
- <a class="inactive-action" data-bind="hueLink: '${ url('indexer:importer_prefill', source_type='manual', target_type='database') }' + '?sourceType=' + sourceType" href="javascript:void(0)">
+ <a class="inactive-action" data-bind="hueLink: '${ url('indexer:importer_prefill', source_type='manual', target_type='database') }' + '/?sourceType=' + sourceType" href="javascript:void(0)">
<i class="pointer fa fa-plus" title="${ _('Create database') }"></i>
</a>
<!-- /ko -->
