@fayz-ai/pos 0.22.1 → 0.22.3

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.js CHANGED
@@ -4869,7 +4869,7 @@ function lateness(p, now) {
4869
4869
  return Math.floor((now - new Date(p.dueAt).getTime()) / 6e4);
4870
4870
  }
4871
4871
  var GHOST_MS = 300;
4872
- function DeliveryBoard({ orders, activeId, onSelect, now }) {
4872
+ function DeliveryBoard({ orders, activeId, onSelect, now, channelsConnected }) {
4873
4873
  const seen = useRef({});
4874
4874
  const [ghosts, setGhosts] = useState([]);
4875
4875
  useEffect(() => {
@@ -4889,7 +4889,7 @@ function DeliveryBoard({ orders, activeId, onSelect, now }) {
4889
4889
  return () => window.clearTimeout(t);
4890
4890
  }, [orders]);
4891
4891
  return /* @__PURE__ */ jsxs(Fragment, { children: [
4892
- orders.length === 0 && /* @__PURE__ */ jsx(
4892
+ orders.length === 0 && channelsConnected === false && /* @__PURE__ */ jsx(
4893
4893
  EmptyState,
4894
4894
  {
4895
4895
  title: "Nenhum canal de delivery conectado",