mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-25 11:05:07 +02:00
Merge branch 'develop' of https://github.com/hcengineering/platform into staging-new
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
void (async (loc: Location): Promise<void> => {
|
||||
const key = loc.path[5]
|
||||
currentGroup = groups.find((g) => g.key === key) ?? groups[0]
|
||||
currentGroupKey = currentGroup.key
|
||||
currentGroupKey = currentGroup?.key
|
||||
})(loc)
|
||||
})
|
||||
|
||||
@@ -109,8 +109,10 @@
|
||||
|
||||
<Separator name="billingSettings" index={0} color={'var(--theme-divider-color)'} />
|
||||
|
||||
<div class="hulyComponent-content__column content">
|
||||
<Component is={currentGroup.component} />
|
||||
</div>
|
||||
{#if currentGroup != null}
|
||||
<div class="hulyComponent-content__column content">
|
||||
<Component is={currentGroup.component} />
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -636,7 +636,7 @@ function resolveCursorPositionFromCoords (view: EditorView, coords: { left: numb
|
||||
|
||||
function scanMarker (target: HTMLElement | null, field: string): [boolean, HTMLElement | null] {
|
||||
while (target != null) {
|
||||
if (target.dataset[field] === 'true') {
|
||||
if (target.dataset?.[field] === 'true') {
|
||||
return [true, target]
|
||||
}
|
||||
target = target.parentElement
|
||||
|
||||
Reference in New Issue
Block a user