Running linter to cleanup formatting.

This commit is contained in:
mike12345567 2020-09-23 16:20:39 +01:00
parent 6e1e5777b8
commit 19bb0481c6
5 changed files with 7 additions and 5 deletions

View File

@ -7,7 +7,8 @@
let selected
$: selected = $automationStore.selectedBlock?.id === block.id
$: steps = $automationStore.selectedAutomation?.automation?.definition?.steps ?? []
$: steps =
$automationStore.selectedAutomation?.automation?.definition?.steps ?? []
$: blockIdx = steps.findIndex(step => step.id === block.id)
</script>

View File

@ -26,7 +26,8 @@
</header>
<div>
<p>
Are you sure you want to delete this automation? This action can't be undone.
Are you sure you want to delete this automation? This action can't be
undone.
</p>
</div>
<footer>

View File

@ -1,4 +1,3 @@
<!-- routify:options index=1 -->
<script>
import { getContext } from "svelte"
import { store, backendUiStore } from "builderStore"
@ -6,6 +5,7 @@
import ModelNavigator from "components/nav/ModelNavigator/ModelNavigator.svelte"
</script>
<!-- routify:options index=1 -->
<div class="root">
<div class="nav">
<ModelNavigator />

View File

@ -1,4 +1,3 @@
<!-- routify:options index=1 -->
<script>
import { store, backendUiStore } from "builderStore"
import { goto } from "@sveltech/routify"
@ -38,6 +37,7 @@
const lastPartOfName = c => (c ? last(c.split("/")) : "")
</script>
<!-- routify:options index=1 -->
<div class="root">
<div class="ui-nav">

View File

@ -103,7 +103,7 @@ module.exports.cleanUpRecord = async (instanceId, modelId, record) => {
/**
* A utility function for the cleanUpRecord, which can be used if only the record ID is known (not the model ID) to clean
* up a record after mustache statements have been replaced. This is specifically useful for the update record action.
*
*
* @param {string} instanceId The instance which the Table/Model is contained under.
* @param {string} recordId The ID of the record from which the modelId will be extracted, to get the Table/Model schema.
* @param {object} record The input record structure which requires clean-up after having been through mustache statements.