mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-01 21:28:23 +00:00
feat: add dual range slider component and integrate it into dynamic filter for device management
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m49s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m49s
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
import { redirect } from "next/navigation";
|
||||
import { getServerSession } from "next-auth";
|
||||
import { Suspense } from "react";
|
||||
import { authOptions } from "@/app/auth";
|
||||
import { DevicesTable } from "@/components/devices-table";
|
||||
import DynamicFilter from "@/components/generic-filter";
|
||||
import AddDeviceDialogForm from "@/components/user/add-device-dialog";
|
||||
import { getServerSession } from "next-auth";
|
||||
import { redirect } from "next/navigation";
|
||||
import { Suspense } from "react";
|
||||
import DevicesTableSkeleton from "./device-table-skeleton";
|
||||
|
||||
export default async function Devices({
|
||||
@ -51,6 +51,13 @@ export default async function Devices({
|
||||
label: "Vendor",
|
||||
type: "string",
|
||||
placeholder: "Enter vendor name",
|
||||
}, {
|
||||
label: "Amount of Devices",
|
||||
name: "amount",
|
||||
type: "dual-range-slider",
|
||||
min: 1,
|
||||
max: 100,
|
||||
sliderLabel: "MVR"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user