Skip to content

Commit

Permalink
fix text, clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaPeanut committed Oct 26, 2023
1 parent 3cee277 commit 9e477eb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/pages/[projectSlug]/subsubsection-status/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const NewSubsubsectionStatusPageWithQuery = () => {

return (
<>
<MetaTags noindex title={seoNewTitle("Ausbaustandard")} />
<PageHeader title="Ausbaustandard hinzufügen" className="mt-12" />
<MetaTags noindex title={seoNewTitle("Status für Führungen")} />
<PageHeader title="Status für Führungen hinzufügen" className="mt-12" />

<SubsubsectionStatusForm
className="mt-10"
Expand Down
15 changes: 6 additions & 9 deletions src/subsections/components/SubsectionTableAdmin.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
import { Routes } from "@blitzjs/next"
import { useMutation } from "@blitzjs/rpc"
import { PencilSquareIcon, TrashIcon } from "@heroicons/react/20/solid"
import { ClipboardDocumentListIcon } from "@heroicons/react/24/outline"
import { lineString } from "@turf/helpers"
import clsx from "clsx"
import { useRouter } from "next/router"
import { SubsectionIcon } from "src/core/components/Map/Icons"
import { TableWrapper } from "src/core/components/Table/TableWrapper"
import { Link } from "src/core/components/links"
import { longTitle, shortTitle } from "src/core/components/text"
import { startEnd } from "src/core/components/text/startEnd"
import { shortTitle } from "src/core/components/text"
import { useSlugs } from "src/core/hooks"
import { StakeholderSummary } from "src/stakeholdernotes/components/StakeholderSummary"
import { SubsectionWithPosition } from "../queries/getSubsection"
import { lineString } from "@turf/helpers"
import { ClipboardDocumentIcon, PencilSquareIcon, TrashIcon } from "@heroicons/react/20/solid"
import { ClipboardDocumentListIcon } from "@heroicons/react/24/outline"
import { useMutation } from "@blitzjs/rpc"
import deleteSubsubsection from "src/subsubsections/mutations/deleteSubsubsection"
import deleteSubsection from "../mutations/deleteSubsection"
import { SubsectionWithPosition } from "../queries/getSubsection"

type Props = {
subsections: SubsectionWithPosition[]
Expand Down
2 changes: 1 addition & 1 deletion src/subsubsections/components/SubsubsectionForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function SubsubsectionForm<S extends z.ZodType<any, any>>(props: FormProp

const [{ qualityLevels }] = useQuery(getQualityLevelsWithCount, { projectSlug })
const qualityLevelOptions: [number | string, string][] = [
["", "Kein Ausbaustandard"],
["", "Ausbaustandard offen"],
...qualityLevels.map((ql) => {
return [ql.id, `${ql.title}${shortTitle(ql.slug)}`] as [number, string]
}),
Expand Down

0 comments on commit 9e477eb

Please sign in to comment.