Adding in a check for when there are no screen actions that need to be performed - #7592.

This commit is contained in:
mike12345567 2022-09-02 18:14:08 +01:00
parent bf1587f82b
commit f9224df941
2 changed files with 1100 additions and 21 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
import Component from "./Component.svelte" import Component from "./Component.svelte"
import Provider from "./context/Provider.svelte" import Provider from "./context/Provider.svelte"
import { onMount, getContext } from "svelte" import { onMount, getContext } from "svelte"
import { enrichButtonActions } from "utils/buttonActions.js" import { enrichButtonActions } from "../utils/buttonActions.js"
export let params = {} export let params = {}
@ -29,7 +29,9 @@
...$context, ...$context,
url: params, url: params,
}) })
actions() if (actions != null) {
actions()
}
} }
}) })
</script> </script>