@flozy/editor 5.5.0 → 5.5.1

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.
@@ -38,7 +38,7 @@ const DataView = props => {
38
38
  const name = [m?.first_name || "", m?.last_name || ""]?.join(" ").trim();
39
39
  return {
40
40
  value: m?.email,
41
- name: name || m?.username || m?.email,
41
+ label: name || m?.username || m?.email,
42
42
  avatar: m?.avatar || null
43
43
  };
44
44
  });
@@ -46,11 +46,7 @@ export const DataViewProvider = ({
46
46
  const [rows, setRows] = useState(initialData?.rows || []);
47
47
  const [selectedRows, setSelectedRows] = useState([]);
48
48
  const [search, setSearch] = useState("");
49
- const users = peoples?.map(m => {
50
- return {
51
- value: m?.name
52
- };
53
- });
49
+ const [users] = useState(peoples);
54
50
 
55
51
  // for undo and redo
56
52
  // minimal added for perforamnce issue avoid
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "5.5.0",
3
+ "version": "5.5.1",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"