diff --git a/packages/backend-core/src/context/index.js b/packages/backend-core/src/context/index.js
index ba9a7831db..9cb61ea8c9 100644
--- a/packages/backend-core/src/context/index.js
+++ b/packages/backend-core/src/context/index.js
@@ -174,9 +174,11 @@ function getDB(key, opts) {
if (db && isEqual(opts, storedOpts)) {
return db
}
+
const appId = exports.getAppId()
const CouchDB = getCouch()
let toUseAppId
+
switch (key) {
case ContextKeys.CURRENT_DB:
toUseAppId = appId
diff --git a/packages/bbui/src/Modal/ModalContent.svelte b/packages/bbui/src/Modal/ModalContent.svelte
index 89c10bb625..4c608f1025 100644
--- a/packages/bbui/src/Modal/ModalContent.svelte
+++ b/packages/bbui/src/Modal/ModalContent.svelte
@@ -72,12 +72,20 @@
class:header-spacing={$$slots.header}
>
{title}
+
+ {:else if $$slots.header}
+
- {#if showDivider}
-
- {/if}
{/if}
+ {#if showDivider && (title || $$slots.header)}
+
+ {/if}
+
diff --git a/packages/bbui/src/Popover/Popover.svelte b/packages/bbui/src/Popover/Popover.svelte
index 6c9c6cc9a3..b7a0f08aae 100644
--- a/packages/bbui/src/Popover/Popover.svelte
+++ b/packages/bbui/src/Popover/Popover.svelte
@@ -11,6 +11,9 @@
export let align = "right"
export let portalTarget
+ let clazz
+ export { clazz as class }
+
export const show = () => {
dispatch("open")
open = true
@@ -37,7 +40,7 @@
use:positionDropdown={{ anchor, align }}
use:clickOutside={hide}
on:keydown={handleEscape}
- class="spectrum-Popover is-open"
+ class={"spectrum-Popover is-open " + clazz}
role="presentation"
>
diff --git a/packages/bbui/src/Popover/PopoverMenu.svelte b/packages/bbui/src/Popover/PopoverMenu.svelte
new file mode 100644
index 0000000000..7c9d52f499
--- /dev/null
+++ b/packages/bbui/src/Popover/PopoverMenu.svelte
@@ -0,0 +1,81 @@
+
+
+
+
+
diff --git a/packages/bbui/src/index.js b/packages/bbui/src/index.js
index 2b16f32b84..6a2d3824f0 100644
--- a/packages/bbui/src/index.js
+++ b/packages/bbui/src/index.js
@@ -25,6 +25,7 @@ export { default as RadioGroup } from "./Form/RadioGroup.svelte"
export { default as Checkbox } from "./Form/Checkbox.svelte"
export { default as DetailSummary } from "./DetailSummary/DetailSummary.svelte"
export { default as Popover } from "./Popover/Popover.svelte"
+export { default as PopoverMenu } from "./Popover/PopoverMenu.svelte"
export { default as ProgressBar } from "./ProgressBar/ProgressBar.svelte"
export { default as ProgressCircle } from "./ProgressCircle/ProgressCircle.svelte"
export { default as Label } from "./Label/Label.svelte"
diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ResultsModal.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ResultsModal.svelte
index 7dfdff20a7..7e55deb6a2 100644
--- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ResultsModal.svelte
+++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ResultsModal.svelte
@@ -10,11 +10,11 @@
-