Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-04-06 13:22:51 +04:00
parent 08847d9dc5
commit c00b260cef
2 changed files with 2 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
import type { ComponentProps } from "react";
import { graphql, useRefetchableFragment } from "react-relay";
import { useOutletContext, useParams } from "react-router";
@@ -122,7 +123,7 @@ export default function MeasureControlsTab() {
return (
<LinkedControlsCard
disabled={isLoading}
controls={controls}
controls={controls as ComponentProps<typeof LinkedControlsCard>["controls"]}
onDetach={detachControl}
onAttach={attachControl}
params={{ measureId }}

View File

@@ -27,7 +27,6 @@ const tasksQuery = graphql`
node(id: $measureId) @required(action: THROW) {
__typename
... on Measure {
id
canCreateTask: permission(action: "core:task:create")
tasks(first: 100, orderBy: { field: PRIORITY_RANK, direction: ASC })
@connection(key: "Measure__tasks")