@dxos/react-ui-table 0.7.5-staging.2ff1350 → 0.7.5-staging.e6154f3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1936,6 +1936,7 @@ var TableToolbar = ({ classNames, viewDirty, attendableId, onAction }) => {
1936
1936
  import { effect as effect3 } from "@preact/signals-core";
1937
1937
  import { useEffect as useEffect2, useState as useState3 } from "react";
1938
1938
  import { useSelectionActions } from "@dxos/react-ui-attention";
1939
+ import { isNonNullable } from "@dxos/util";
1939
1940
  var useTableModel = ({ objects, table, projection, ...props }) => {
1940
1941
  const [model, setModel] = useState3();
1941
1942
  useEffect2(() => {
@@ -1968,7 +1969,10 @@ var useTableModel = ({ objects, table, projection, ...props }) => {
1968
1969
  model,
1969
1970
  objects
1970
1971
  ]);
1971
- const { select, clear } = useSelectionActions(table?.id);
1972
+ const { select, clear } = useSelectionActions([
1973
+ table?.id,
1974
+ table?.view?.target?.query.typename
1975
+ ].filter(isNonNullable));
1972
1976
  useEffect2(() => {
1973
1977
  if (!model) {
1974
1978
  return;