File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,8 @@ export const FrameTree: React.FC<FrameTreeProps> = React.memo(
290290 let name_leaf = name ;
291291 let actions_leaf = actions ;
292292 if (
293- spec . name === "TimeTravel" &&
293+ typeof spec . name != "string" &&
294+ spec . name ?. id === "labels.timetravel" &&
294295 ! ( actions instanceof TimeTravelActions )
295296 ) {
296297 if ( path_leaf . slice ( path_leaf . length - 12 ) != ".time-travel" ) {
Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ export const labels = defineMessages({
157157 description : "The button to engage with the AI Assistant dialog" ,
158158 } ,
159159 timetravel : {
160+ // DO NOT CHANGE THIS labels.timetravel ID!!!! It is explcitly used in frontend/frame-editors/frame-tree/frame-tree.tsx
161+ // This caused a massive bug when i18n was first merged.
160162 id : "labels.timetravel" ,
161163 defaultMessage : "TimeTravel" ,
162164 description :
Original file line number Diff line number Diff line change 11/* autogenerated by the update_version script */
2- exports . version = 1721605026 ;
2+ exports . version = 1724777878 ;
You can’t perform that action at this time.
0 commit comments