()
| 772 | return false; |
| 773 | } |
| 774 | function getFirstAvailableImportListKey() { |
| 775 | const options = Array.from(UI.listTab2?.options || []).filter( |
| 776 | (option) => option && !option.disabled && option.value && option.value !== "0" |
| 777 | ); |
| 778 | const resultListOption = options.find((option) => |
| 779 | option.value.startsWith(CONSTANTS.LIST_PREFIX_RESULT) |
| 780 | ); |
| 781 | return resultListOption?.value || options[0]?.value || null; |
| 782 | } |
| 783 | async function getPreferredImportListKey(domainKey = null) { |
| 784 | if (!UI.listTab2) return null; |
| 785 |
no outgoing calls
no test coverage detected