Fix type errors in samplerSelect
| @@ -28,7 +28,7 @@ async function showSamplerSelectPopup() { | ||
| 28 | 28 | |
| 29 | 29 | const listContainer = $('<div id="apiSamplersList" class="flex-container flexNoGap"></div>'); |
| 30 | 30 | const APISamplers = await listSamplers(main_api); |
| 31 | 31 | listContainer.append(APISamplers.toString()); |
| 32 | 32 | html.append(listContainer); |
| 33 | 33 | |
| 34 | 34 | const showPromise = new Popup(html, POPUP_TYPE.TEXT, null, { wide: true, large: true, allowVerticalScrolling: true }).show(); |
| @@ -419,7 +419,7 @@ export async function validateDisabledSamplers(redraw = false) { | ||
| 419 | 419 | } |
| 420 | 420 | if (redraw) { |
| 421 | 421 | let samplersHTML = await listSamplers(main_api); |
| 422 | 422 | $('#apiSamplersList').empty().append(samplersHTML.toString()); |
| 423 | 423 | setSamplerListListeners(); |
| 424 | 424 | } |
| 425 | 425 | |