mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 03:42:37 +02:00
fix: hide importers section if none is defined
This commit is contained in:
parent
ceab5090a7
commit
a3afadb677
1 changed files with 5 additions and 3 deletions
|
@ -12,14 +12,16 @@ const TEMPLATE = `
|
|||
<input type="file" multiple autofocus onchange />
|
||||
<input type="url" placeholder="${translate('Provide an URL here')}" onchange />
|
||||
<textarea onchange placeholder="${translate('Paste your data here')}"></textarea>
|
||||
<div class="importers">
|
||||
<div class="importers" hidden>
|
||||
<h4>${translate('Import helpers:')}</h4>
|
||||
<ul class="grid-container">
|
||||
</ul>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset class="formbox">
|
||||
<legend class="counter" data-help="importFormats">${translate('Choose the format')}</legend>
|
||||
<legend class="counter" data-help="importFormats">${translate(
|
||||
'Choose the format'
|
||||
)}</legend>
|
||||
<select name="format" onchange></select>
|
||||
</fieldset>
|
||||
<fieldset id="destination" class="formbox">
|
||||
|
|
Loading…
Reference in a new issue