package fic
This commit is contained in:
parent
01588cf6c1
commit
261e673dac
|
@ -4133,25 +4133,6 @@
|
||||||
"url": "https://github.com/sponsors/gregberge"
|
"url": "https://github.com/sponsors/gregberge"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@testing-library/dom": {
|
|
||||||
"version": "10.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.0.tgz",
|
|
||||||
"integrity": "sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==",
|
|
||||||
"peer": true,
|
|
||||||
"dependencies": {
|
|
||||||
"@babel/code-frame": "^7.10.4",
|
|
||||||
"@babel/runtime": "^7.12.5",
|
|
||||||
"@types/aria-query": "^5.0.1",
|
|
||||||
"aria-query": "5.3.0",
|
|
||||||
"chalk": "^4.1.0",
|
|
||||||
"dom-accessibility-api": "^0.5.9",
|
|
||||||
"lz-string": "^1.5.0",
|
|
||||||
"pretty-format": "^27.0.2"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@testing-library/jest-dom": {
|
"node_modules/@testing-library/jest-dom": {
|
||||||
"version": "5.17.0",
|
"version": "5.17.0",
|
||||||
"resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-5.17.0.tgz",
|
"resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-5.17.0.tgz",
|
||||||
|
|
|
@ -5,7 +5,6 @@ const Templates = () => {
|
||||||
const { templates, removeTemplate } = useTemplateStore();
|
const { templates, removeTemplate } = useTemplateStore();
|
||||||
const { setSelectedZone } = useSelectedZoneStore();
|
const { setSelectedZone } = useSelectedZoneStore();
|
||||||
|
|
||||||
console.log("templates: ", templates);
|
|
||||||
const handleDeleteTemplate = (id: string) => {
|
const handleDeleteTemplate = (id: string) => {
|
||||||
removeTemplate(id);
|
removeTemplate(id);
|
||||||
};
|
};
|
||||||
|
|
|
@ -29,11 +29,10 @@ const FilterSearch: React.FC<ModelsProps> = ({
|
||||||
filteredModels,
|
filteredModels,
|
||||||
}) => {
|
}) => {
|
||||||
const [activeOption, setActiveOption] = useState("Sort by"); // State for active option
|
const [activeOption, setActiveOption] = useState("Sort by"); // State for active option
|
||||||
console.log("filteredModels: ", filteredModels);
|
|
||||||
|
|
||||||
const handleSelect = (option: string) => {
|
const handleSelect = (option: string) => {
|
||||||
setActiveOption(option);
|
setActiveOption(option);
|
||||||
console.log("option: ", option);
|
|
||||||
// Alphabet ascending
|
// Alphabet ascending
|
||||||
// Alphabet descending
|
// Alphabet descending
|
||||||
// All
|
// All
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`;
|
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 (
|
export const getSelect2dZoneData = async (
|
||||||
ZoneId?: string,
|
ZoneId?: string,
|
||||||
|
|
|
@ -47,10 +47,9 @@
|
||||||
border-radius: $border-radius-large;
|
border-radius: $border-radius-large;
|
||||||
|
|
||||||
.search-container {
|
.search-container {
|
||||||
border: none !important;
|
|
||||||
box-shadow: $box-shadow-medium;
|
|
||||||
border-radius: $border-radius-large;
|
border-radius: $border-radius-large;
|
||||||
|
outline: 1px solid var(--border-color);
|
||||||
|
border: none;
|
||||||
input {
|
input {
|
||||||
border: none !important;
|
border: none !important;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
@ -60,6 +59,12 @@
|
||||||
|
|
||||||
.regularDropdown-container {
|
.regularDropdown-container {
|
||||||
max-width: 159px;
|
max-width: 159px;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: #{$border-radius-large};
|
||||||
|
border: 1px solid var(--border-color);
|
||||||
|
.dropdown-header {
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
|
@ -128,7 +133,7 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: #{$border-radius-medium};
|
border-radius: #{$border-radius-medium};
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
img{
|
img {
|
||||||
height: inherit;
|
height: inherit;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
@ -143,7 +148,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 3px;
|
gap: 3px;
|
||||||
.assets-name{
|
.assets-name {
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue