Formatting.

This commit is contained in:
mike12345567 2021-04-13 20:26:26 +01:00
parent c7c158dd84
commit e8383653c1
4 changed files with 4 additions and 12 deletions

View File

@ -26,5 +26,5 @@ export default {
get: apiCall("GET"), get: apiCall("GET"),
patch: apiCall("PATCH"), patch: apiCall("PATCH"),
delete: apiCall("DELETE"), delete: apiCall("DELETE"),
put: apiCall("PUT") put: apiCall("PUT"),
} }

View File

@ -31,7 +31,7 @@
roles: {}, roles: {},
builder: { builder: {
global: true, global: true,
} },
}) })
notifier.success("Test user created") notifier.success("Test user created")
} catch (err) { } catch (err) {

View File

@ -20,9 +20,7 @@
{#if $auth.user} {#if $auth.user}
<div class="root"> <div class="root">
<div class="ui-nav"> <div class="ui-nav">
<div class="home-logo"> <div class="home-logo"><img src={Logo} alt="Budibase icon" /></div>
<img src={Logo} alt="Budibase icon" />
</div>
<div class="nav-section"> <div class="nav-section">
<div class="nav-top"> <div class="nav-top">
<Link icon={AppsIcon} title="Apps" href="/" active /> <Link icon={AppsIcon} title="Apps" href="/" active />

View File

@ -116,13 +116,7 @@ exports.serveComponentLibrary = async function(ctx) {
componentLib += `-${COMP_LIB_BASE_APP_VERSION}` componentLib += `-${COMP_LIB_BASE_APP_VERSION}`
} }
const S3_URL = encodeURI( const S3_URL = encodeURI(
join( join(objectStoreUrl(), componentLib, ctx.query.library, "dist", "index.js")
objectStoreUrl(),
componentLib,
ctx.query.library,
"dist",
"index.js"
)
) )
const response = await fetch(S3_URL) const response = await fetch(S3_URL)
const body = await response.text() const body = await response.text()