Skip to content

Commit

Permalink
Renaming project: fix invalid state when the name does not change (#1…
Browse files Browse the repository at this point in the history
…1103)

Fixes #11101

I did not add tests for it, because I think we'll remove this rename feature in the future.

(cherry picked from commit dfc04f4)
  • Loading branch information
farmaazon authored and jdunkerley committed Sep 17, 2024
1 parent 42277b5 commit 0857604
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
- [Fixed issue where drag'n'dropped files were not uploaded in cloud
projects.][11014]
- [Fixed files associations not properly registered on Windows][11030]
- [Fixed "rename project" button being broken after not changing project
name][11103]

[10774]: https://github.com/enso-org/enso/pull/10774
[10814]: https://github.com/enso-org/enso/pull/10814
Expand All @@ -28,6 +30,7 @@
[11001]: https://github.com/enso-org/enso/pull/11001
[11014]: https://github.com/enso-org/enso/pull/11014
[11030]: https://github.com/enso-org/enso/pull/11030
[11103]: https://github.com/enso-org/enso/pull/11103

#### Enso Standard Library

Expand Down
1 change: 1 addition & 0 deletions app/gui2/src/components/NavBreadcrumbs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ async function renameBreadcrumb(index: number, newName: string) {
class="clickable"
@click.stop="stackNavigator.handleBreadcrumbClick(index)"
@update:modelValue="renameBreadcrumb(index, $event)"
@focusout="projectNameEdited = false"
/>
</template>
</div>
Expand Down

0 comments on commit 0857604

Please sign in to comment.