@voplus/morpho-workspace 1.3.31 → 1.3.32

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.
@@ -9,12 +9,12 @@ import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemF
9
9
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
10
10
  import NewTaskForm from "../../../../modules/tasks/components/NewTaskForm";
11
11
  import TaskPropertiesView from "../../../../modules/tasks/components/TaskPropertiesView";
12
+ import { TaskStatusFilter } from "../../../../controls/filters";
12
13
  import moment from "moment";
13
14
  import { observe } from "@voplus/morpho-ui";
14
15
  import { runInAction } from "mobx";
15
16
  import { useRenderOnChange } from "@voplus/morpho-ui";
16
17
  import { useTaskListEffect } from "../../../../data/task/hooks";
17
- import { TaskStatusFilter } from "../../../../controls/filters";
18
18
  const TaskList = (props) => {
19
19
  const match = useRouteMatch();
20
20
  const layout = useLayout();
@@ -100,6 +100,7 @@ const TaskList = (props) => {
100
100
  l: "And",
101
101
  v1: JSON.stringify(["NotStarted", "Progress"]),
102
102
  },
103
+ { c: "Members", o: "contains", l: "And", v1: JSON.stringify([user.info.unit.id]) },
103
104
  ];
104
105
  }
105
106
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/pages/Space/components/Tasks/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAgB,qBAAqB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEvF,OAAO,eAAe,MAAM,+DAA+D,CAAC;AAC5F,O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AC,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,EAAE;iBAClF,CAAC;aACF;SACD;aAAM,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,KAAK,KAAK,EAAE;YAC1C,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,MAAM,CAAC,qBAAqB,CAAC,EAAE,CAAC,CAAC;SAC5F;QACD,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,KAAK,SAAS,EAAE;YACvC,MAAM,GAAG,EAAE,CAAC;SACZ;QACD,OAAO,MAAwB,CAAC;IACjC,CAAC;IAED,KAAK,UAAU,SAAS,CAAC,EAAU,EAAE,OAAe;QACnD,MAAM,aAAa,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IACD,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "1.3.31",
3
+ "version": "1.3.32",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",