fix(webui): show "add url" instead of "create object" in Selector with URLs
This commit is contained in:
parent
f6c127bda5
commit
8dab89f952
1 changed files with 7 additions and 1 deletions
|
@ -497,7 +497,13 @@
|
|||
/>{/if}
|
||||
{:else if option.t === 'NewAddress'}
|
||||
<div class="content new">{option.c}</div>
|
||||
<div class="type">{$i18n.t('Create object')}</div>
|
||||
<div class="type">
|
||||
{#if inputValue.startsWith('http')}
|
||||
{$i18n.t('Add URL')}
|
||||
{:else}
|
||||
{$i18n.t('Create object')}
|
||||
{/if}
|
||||
</div>
|
||||
{:else if option.t === 'Attribute'}
|
||||
{#if option.labels?.length}
|
||||
<div class="content">
|
||||
|
|
Loading…
Reference in a new issue