Property Group Label Translation und erste TreeView fertig

This commit is contained in:
2026-07-30 23:18:02 +02:00
parent c50780b6cf
commit 0e72fb23b7
8 changed files with 71 additions and 29 deletions
@@ -4,7 +4,7 @@ import PropertySideBar from '../components/PropertySideBar';
import UseFetch from '../components/tools/UseFetch';
const PropertyPage = () => {
const { data: properties, isLoading, error } = UseFetch(`http://localhost:8088/propertygroup/1`)
const { data: properties, isLoading, error } = UseFetch(`http://localhost:8088/propertygroup/1/lang/1`)
if (isLoading) return <p>Loading profile...</p>
if (error) return <p>Error: {error}</p>
@@ -12,7 +12,7 @@ const PropertyPage = () => {
return (
<div className="content">
<div><PropertySideBar properties={[properties]} /></div>
<div className="main">{JSON.stringify(properties)}</div>
<div className="main"></div>
</div>
);
};