{#if addImportPath} { addImportPath = false; importPathToAdd = null; }} /> {/if} {#if editImportPath != undefined} { editImportPath = null; }} /> {/if} handleSubmit()} autocomplete="off" class="m-4 flex flex-col gap-4"> {#each validatedPaths as validatedPath, listIndex} {#if validatedPath.isValid} {:else} {/if} {validatedPath.importPath} { editImportPath = listIndex; editedImportPath = validatedPath.importPath; }} class="rounded-full bg-immich-primary p-3 text-gray-100 transition-all duration-150 hover:bg-immich-primary/75 dark:bg-immich-dark-primary dark:text-gray-700" > {/each} {#if importPaths.length === 0} No paths added {/if} { addImportPath = true; }}>Add path revalidate()}>Validate handleCancel()}>Cancel Save