ignoring custom websites in the selectiong pop-up

This commit is contained in:
antelle 2021-04-28 23:47:56 +02:00
parent ddc1a371bf
commit b34c0dd34e
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import { UrlFormat } from 'util/formatting/url-format';
import { Locale } from 'util/locale';
import { Scrollable } from 'framework/views/scrollable';
import { DropdownView } from 'views/dropdown-view';
import { ExtraUrlFieldName } from 'models/entry-model';
import template from 'templates/select/select-entry.hbs';
import itemTemplate from 'templates/select/select-entry-item.hbs';
@ -310,7 +311,7 @@ class SelectEntryView extends View {
}
for (const field of Object.keys(entry.fields)) {
if (field !== 'otp') {
if (field !== 'otp' && !field.startsWith(ExtraUrlFieldName)) {
options.push({
value: `{S:${field}}`,
icon: 'th-list',