1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00

Merge pull request #301 from mjashanks/master

Few Bugfixes
This commit is contained in:
Michael Shanks 2020-06-03 12:38:02 +01:00 committed by GitHub
commit a0aa7400c1
8 changed files with 14 additions and 8 deletions

View file

@ -28,7 +28,7 @@
{/each}
</select>
{:else}
<Input on:change={onChange} value={parameter.value} />
<Input onChange={onChange} value={parameter.value} />
<button on:click={() => (isOpen = !isOpen)}>
<div class="icon" style={`transform: rotate(${isOpen ? 0 : 90}deg);`}>
<ArrowDownIcon size={36} />

View file

@ -7,6 +7,7 @@
<div class="uk-margin block-field">
<div class="uk-form-controls">
<select class="budibase__input" on:change {value}>
<option value=""></option>
{#each $backendUiStore.models as model}
<option value={model._id}>{model.name}</option>
{/each}

View file

@ -7,6 +7,7 @@
<div class="uk-margin block-field">
<div class="uk-form-controls">
<select class="budibase__input" bind:value>
<option value=""></option>
{#each $backendUiStore.models as model}
<option value={model}>{model.name}</option>
{/each}

View file

@ -38,6 +38,7 @@ router
ctx.config = {
latestPackagesFolder: budibaseAppsDir(),
jwtSecret: env.JWT_SECRET,
useAppRootPath: true,
}
ctx.isDev = env.NODE_ENV !== "production" && env.NODE_ENV !== "jest"
await next()

View file

@ -9,8 +9,10 @@
"_id": 0,
"type": "div",
"_styles": {
"layout": {},
"position": {}
"active": {},
"hover": {},
"normal": {},
"selected": {}
},
"_code": ""
},

View file

@ -9,8 +9,10 @@
"_id": 1,
"type": "div",
"_styles": {
"layout": {},
"position": {}
"active": {},
"hover": {},
"normal": {},
"selected": {}
},
"_code": ""
},

View file

@ -28,8 +28,7 @@ module.exports = async (config, appId, pageName, pkg) => {
await savePageJson(appPath, pageName, pkg)
}
const rootPath = (config, appname) =>
config.useAppRootPath ? `/${appname}` : ""
const rootPath = (config, appId) => (config.useAppRootPath ? `/${appId}` : "")
const copyClientLib = async (appPath, pageName) => {
const sourcepath = require.resolve("@budibase/client")

View file

@ -13,7 +13,7 @@
$: target = openInNewTab ? "_blank" : "_self"
</script>
<a href={url} bind:this={anchorElement} {target}>{text}</a>
<a href={_bb.relativeUrl(url)} bind:this={anchorElement} {target}>{text}</a>
<style>
.textDecoration {