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> </script>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<button <button
class="spectrum-ActionButton spectrum-ActionButton--size{size}" class="spectrum-ActionButton spectrum-ActionButton--size{size}"
class:spectrum-ActionButton--quiet={quiet} class:spectrum-ActionButton--quiet={quiet}

View File

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

View File

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

View File

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

View File

@ -1,7 +1,6 @@
<script> <script>
import { views } from "stores/builder" import { views, tables } from "stores/builder"
import { API } from "api" import { API } from "api"
import { tables } from "stores/builder"
import Table from "components/backend/DataTable/Table.svelte" import Table from "components/backend/DataTable/Table.svelte"
import CalculateButton from "components/backend/DataTable/buttons/CalculateButton.svelte" import CalculateButton from "components/backend/DataTable/buttons/CalculateButton.svelte"
import GroupByButton from "components/backend/DataTable/buttons/GroupByButton.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 tableId the ID of the table
* @param rowActionId the ID of the row action to trigger * @param rowActionId the ID of the row action to trigger
*/ */
trigger: async ({ tableId, rowActionid }) => { trigger: async ({ tableId, rowActionId }) => {
return await API.post({ return await API.post({
url: `/api/tables/${tableId}/actions/${rowActionId}/trigger`, url: `/api/tables/${tableId}/actions/${rowActionId}/trigger`,
}) })