@addsign/moje-agenda-shared-lib 0.0.79 → 0.0.80

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.
@@ -22145,24 +22145,26 @@ function DataTableServer({
22145
22145
  ] })
22146
22146
  ] }, tableKey) }),
22147
22147
  /* @__PURE__ */ jsx("div", { className: "w-full p-5 flex gap-5 justify-between", children: /* @__PURE__ */ jsxs("div", { className: "flex gap-5", children: [
22148
- data && !data.first && /* @__PURE__ */ jsxs(
22148
+ data && /* @__PURE__ */ jsxs(
22149
22149
  Button,
22150
22150
  {
22151
22151
  variant: "secondary",
22152
22152
  onClick: prevPage,
22153
22153
  className: "flex items-center",
22154
+ disabled: data.first,
22154
22155
  children: [
22155
22156
  /* @__PURE__ */ jsx(MdArrowBack, { className: "mr-1.5" }),
22156
22157
  " Předchozí"
22157
22158
  ]
22158
22159
  }
22159
22160
  ),
22160
- data && !data.last && /* @__PURE__ */ jsxs(
22161
+ data && /* @__PURE__ */ jsxs(
22161
22162
  Button,
22162
22163
  {
22163
22164
  variant: "secondary",
22164
22165
  onClick: nextPage,
22165
22166
  className: "flex items-center",
22167
+ disabled: data.last,
22166
22168
  children: [
22167
22169
  "Následující ",
22168
22170
  /* @__PURE__ */ jsx(MdArrowForward, { className: "ml-2", size: 20 })