This commit is contained in:
Andrew Kingston 2024-08-23 14:30:22 +01:00
parent 3da0a04fa5
commit 304c6fb58a
No known key found for this signature in database
6 changed files with 4 additions and 15 deletions

View File

@ -30,7 +30,6 @@
}
</script>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<button
class="spectrum-ActionButton spectrum-ActionButton--size{size}"
class:spectrum-ActionButton--quiet={quiet}

View File

@ -22,7 +22,7 @@
anchor = node.firstChild
}
export const show = e => {
export const show = () => {
cancelHide()
dropdown.show()
}

View File

@ -10,8 +10,6 @@
export let showArrow = false
</script>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<a
href={url}
class="list-item"

View File

@ -6,13 +6,7 @@
contextMenuStore,
} from "stores/builder"
import IntegrationIcon from "components/backend/DatasourceNavigator/IntegrationIcon.svelte"
import {
Icon,
Button,
ActionButton,
ActionMenu,
MenuItem,
} from "@budibase/bbui"
import { Icon, ActionButton, ActionMenu, MenuItem } from "@budibase/bbui"
import { params, url } from "@roxi/routify"
import EditViewModal from "./EditViewModal.svelte"
import DeleteViewModal from "./DeleteViewModal.svelte"
@ -23,7 +17,6 @@
import { DB_TYPE_EXTERNAL } from "constants/backend"
import { TableNames } from "constants"
import { alphabetical } from "components/backend/TableNavigator/utils"
import CreateViewModal from "./CreateViewModal.svelte"
import { onDestroy } from "svelte"
import { derived } from "svelte/store"
import CreateViewButton from "./CreateViewButton.svelte"

View File

@ -1,7 +1,6 @@
<script>
import { views } from "stores/builder"
import { views, tables } from "stores/builder"
import { API } from "api"
import { tables } from "stores/builder"
import Table from "components/backend/DataTable/Table.svelte"
import CalculateButton from "components/backend/DataTable/buttons/CalculateButton.svelte"
import GroupByButton from "components/backend/DataTable/buttons/GroupByButton.svelte"

View File

@ -55,7 +55,7 @@ export const buildRowActionEndpoints = API => ({
* @param tableId the ID of the table
* @param rowActionId the ID of the row action to trigger
*/
trigger: async ({ tableId, rowActionid }) => {
trigger: async ({ tableId, rowActionId }) => {
return await API.post({
url: `/api/tables/${tableId}/actions/${rowActionId}/trigger`,
})