package fic

This commit is contained in:
2025-03-28 19:43:01 +05:30
parent 01588cf6c1
commit 261e673dac
5 changed files with 11 additions and 28 deletions

View File

@@ -5,7 +5,6 @@ const Templates = () => {
const { templates, removeTemplate } = useTemplateStore();
const { setSelectedZone } = useSelectedZoneStore();
console.log("templates: ", templates);
const handleDeleteTemplate = (id: string) => {
removeTemplate(id);
};

View File

@@ -29,11 +29,10 @@ const FilterSearch: React.FC<ModelsProps> = ({
filteredModels,
}) => {
const [activeOption, setActiveOption] = useState("Sort by"); // State for active option
console.log("filteredModels: ", filteredModels);
const handleSelect = (option: string) => {
setActiveOption(option);
console.log("option: ", option);
// Alphabet ascending
// Alphabet descending
// All

View File

@@ -1,5 +1,4 @@
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`;
console.log("url_Backend_dwinzo: ", url_Backend_dwinzo);
export const getSelect2dZoneData = async (
ZoneId?: string,

View File

@@ -47,10 +47,9 @@
border-radius: $border-radius-large;
.search-container {
border: none !important;
box-shadow: $box-shadow-medium;
border-radius: $border-radius-large;
outline: 1px solid var(--border-color);
border: none;
input {
border: none !important;
outline: none;
@@ -60,6 +59,12 @@
.regularDropdown-container {
max-width: 159px;
height: 100%;
border-radius: #{$border-radius-large};
border: 1px solid var(--border-color);
.dropdown-header {
align-items: center;
}
}
.button {
@@ -128,7 +133,7 @@
justify-content: center;
border-radius: #{$border-radius-medium};
overflow: hidden;
img{
img {
height: inherit;
width: 100%;
object-fit: cover;
@@ -143,7 +148,7 @@
display: flex;
flex-direction: column;
gap: 3px;
.assets-name{
.assets-name {
text-transform: capitalize;
}