Renaming project: fix invalid state when the name does not change (#11103)

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 dfc04f4222)
This commit is contained in:
Adam Obuchowicz 2024-09-17 13:26:06 +02:00 committed by James Dunkerley
parent 42277b5335
commit 0857604f8e
2 changed files with 4 additions and 0 deletions

View File

@ -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
@ -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

View File

@ -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>