Merge pull request #1033 from DanBrezeanu/877-remove-bottom-version

Configuration option for removing bottom version
This commit is contained in:
shamoon 2023-02-21 08:20:40 -08:00 committed by GitHub
commit 601edb8d6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,7 +175,7 @@ function Home({ initialSettings }) {
const { data: services } = useSWR("/api/services");
const { data: bookmarks } = useSWR("/api/bookmarks");
const { data: widgets } = useSWR("/api/widgets");
const servicesAndBookmarks = [...services.map(sg => sg.services).flat(), ...bookmarks.map(bg => bg.bookmarks).flat()]
useEffect(() => {
@ -310,7 +310,7 @@ function Home({ initialSettings }) {
</div>
<div className="flex p-8 pt-4 w-full justify-end">
<Version />
{!initialSettings?.hideVersion && <Version />}
</div>
</div>
</>