model.handleSelect(e)} disabled={model.loading} options={model.branches.map(b => ({ value: b.name, label: b.name }))} />
model.toggleCreateForm()} disabled={model.loading} class="text-primary" > + {$t.git.new_branch}
{#if model.branchError}
{model.branchError.message}
{#if model.branchError.next_steps?.length}
{#each model.branchError.next_steps as step}
{step}
{/each}
{/if}
model.branchError = null} class="flex-shrink-0 rounded p-0.5 hover:bg-destructive-light" aria-label="Закрыть">
{/if} {#if model.showCreate}
model.handleCreate()} disabled={model.loading || !model.newBranchName} isLoading={model.loading} class="bg-success hover:bg-success" > {$t.git.create}
model.toggleCreateForm()} disabled={model.loading} > {$t.common.cancel}
{/if}