@vlprojects-chat/chat 0.13.1-fix-direct.1 → 0.13.1-fix-direct.2
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.
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -39084,7 +39084,7 @@ const gP = {
|
|
|
39084
39084
|
}, vce = () => {
|
|
39085
39085
|
const e = pe.useContext(j2);
|
|
39086
39086
|
return e ? e.chatSnackbarContainer : null;
|
|
39087
|
-
}, yce = "@vlprojects-chat/chat", bce = "vlprojects", wce = "0.13.
|
|
39087
|
+
}, yce = "@vlprojects-chat/chat", bce = "vlprojects", wce = "0.13.1-fix-direct.1", Sce = "vlprojects chat", Ece = "ISC", xce = "dist/index.d.ts", Cce = "./dist/index.mjs", Tce = "./dist/index.mjs", Oce = [
|
|
39088
39088
|
"dist"
|
|
39089
39089
|
], Rce = {
|
|
39090
39090
|
type: "git",
|
|
@@ -62523,7 +62523,7 @@ const Mbe = (e) => {
|
|
|
62523
62523
|
})();
|
|
62524
62524
|
}, [e.chat.directChannelsList]);
|
|
62525
62525
|
const r = bn((i) => e.ui.setRoute(`${ft.Channels}/${i}`), []), o = e.chat.directChannelsList;
|
|
62526
|
-
return t && !o.length ? /* @__PURE__ */ h.jsx(u0e, {}) : /* @__PURE__ */ h.jsx(Ne, { container: !0, direction: "column", flexGrow: 1, flexWrap: "nowrap", overflow: "auto", children: o.
|
|
62526
|
+
return t && !o.length ? /* @__PURE__ */ h.jsx(u0e, {}) : /* @__PURE__ */ h.jsx(Ne, { container: !0, direction: "column", flexGrow: 1, flexWrap: "nowrap", overflow: "auto", children: [...o].sort((i, s) => {
|
|
62527
62527
|
var a, c;
|
|
62528
62528
|
return new Date(((a = s.lastMessage) == null ? void 0 : a.createdAt) || 0).getTime() - new Date(((c = i.lastMessage) == null ? void 0 : c.createdAt) || 0).getTime();
|
|
62529
62529
|
}).map((i) => {
|