Skip to content

Commit

Permalink
fix: resource name to id in ui
Browse files Browse the repository at this point in the history
  • Loading branch information
jmetz committed Feb 8, 2024
1 parent ee516c3 commit 9803f4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Uploader/Review.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{#if model_name_message }({model_name_message}){/if}
{#if resource_path}
Your model nickname is:
<code style="min-width:10em;">{resource_path.name} {resource_path.icon}&nbsp;</code>
<code style="min-width:10em;">{resource_path.id} {resource_path.icon}&nbsp;</code>
{/if}
<button on:click={regenerate_nickname}>Regenerate nickname</button>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Uploader/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
{:else if step == "uploading"}
<UploadStatus {uploader} on:done={()=>{step="add"}} />
<!--{:else if step == "done"}-->
<!--<a href="/status/{uploader.resource_path.name}">Go to status page</a>-->
<!--<a href="/status/{uploader.resource_path.id}">Go to status page</a>-->
{:else}
<Notification>
Opps! something went wrong 😬
Expand Down

0 comments on commit 9803f4e

Please sign in to comment.