feat(junction): enable complex carriageway width editing
This commit is contained in:
1 parent
56647fcdaa
commit
c4bcbe8ff9
22 files changed
+449
-52
No files matched your search
@@ -32,8 +32,9 @@ export function useDirectEditSession({
|
||||
const touch = () => setRevision((value) => value + 1);
|
||||
|
||||
useEffect(() => {
|
||||
// Flag off: no manifest request at all, so the network trace matches browse mode.
|
||||
if (!editMode) return;
|
||||
// Complex junction capability is published by the server as scoped handles,
|
||||
// so its workspace needs that manifest to expose the edit entry point.
|
||||
if (!editMode && selectedJunction?.type !== 'cluster') return;
|
||||
let current = true;
|
||||
setManifest(null);
|
||||
api
|
||||
|
||||
Reference in new issue
Block a user