1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13:00

Code style check

This commit is contained in:
Dean 2022-04-19 14:56:56 +01:00
parent f3a1761299
commit 4cc1a85f25
7 changed files with 10 additions and 11 deletions

View file

@ -49,7 +49,7 @@
newDeployments newDeployments
) )
if (pendingDeployments.length) { if (pendingDeployments.length) {
showErrorReasonModal(incomingDeployment.err) showErrorReasonModal(pendingDeployments[0].err)
} }
} }
deployments = newDeployments deployments = newDeployments

View file

@ -20,6 +20,6 @@ export function checkIncomingDeploymentStatus(current, incoming) {
acc.push(incomingDeployment) acc.push(incomingDeployment)
} }
} }
return acc; return acc
}, []) }, [])
} }

View file

@ -5,7 +5,6 @@
Icon, Icon,
ActionMenu, ActionMenu,
MenuItem, MenuItem,
ButtonGroup,
StatusLight, StatusLight,
} from "@budibase/bbui" } from "@budibase/bbui"
import { processStringSync } from "@budibase/string-templates" import { processStringSync } from "@budibase/string-templates"

View file

@ -1,5 +1,5 @@
<script> <script>
import { store, automationStore, allScreens } from "builderStore" import { store, automationStore } from "builderStore"
import { roles, flags } from "stores/backend" import { roles, flags } from "stores/backend"
import { import {
Icon, Icon,
@ -32,7 +32,7 @@
let promise = getPackage() let promise = getPackage()
let unpublishModal let unpublishModal
let publishPopover let publishPopover
let notPublishedPopover // let notPublishedPopover
$: enrichedApps = enrichApps($apps, $auth.user) $: enrichedApps = enrichApps($apps, $auth.user)
const enrichApps = (apps, user) => { const enrichApps = (apps, user) => {

View file

@ -356,7 +356,7 @@ exports.delete = async ctx => {
appId = getProdAppID(appId) appId = getProdAppID(appId)
} }
const db = ctx.query.unpublish ? getProdAppDB() : getAppDB(); const db = ctx.query.unpublish ? getProdAppDB() : getAppDB()
const result = await db.destroy() const result = await db.destroy()
/* istanbul ignore next */ /* istanbul ignore next */