diff --git a/js/src/graphql/admin.ts b/js/src/graphql/admin.ts index 4c6bfaecc..0d47b0fa7 100644 --- a/js/src/graphql/admin.ts +++ b/js/src/graphql/admin.ts @@ -184,7 +184,6 @@ export const ADMIN_SETTINGS_FRAGMENT = gql` instanceLongDescription instanceSlogan contact - InstanceHomepageSorting instanceTerms instanceTermsType instanceTermsUrl @@ -213,7 +212,6 @@ export const SAVE_ADMIN_SETTINGS = gql` $instanceLongDescription: String $instanceSlogan: String $contact: String - $InstanceHomepageSorting: InstanceHomepageSorting $instanceTerms: String $instanceTermsType: InstanceTermsType $instanceTermsUrl: String @@ -230,7 +228,6 @@ export const SAVE_ADMIN_SETTINGS = gql` instanceLongDescription: $instanceLongDescription instanceSlogan: $instanceSlogan contact: $contact - InstanceHomepageSorting: $InstanceHomepageSorting instanceTerms: $instanceTerms instanceTermsType: $instanceTermsType instanceTermsUrl: $instanceTermsUrl diff --git a/js/src/types/admin.model.ts b/js/src/types/admin.model.ts index ed74b1062..00d165428 100644 --- a/js/src/types/admin.model.ts +++ b/js/src/types/admin.model.ts @@ -1,6 +1,6 @@ import type { IEvent } from "@/types/event.model"; import type { IGroup } from "./actor"; -import { InstanceTermsType, InstanceHomepageSorting } from "./enums"; +import { InstanceTermsType } from "./enums"; export interface IDashboard { lastPublicEventPublished: IEvent; @@ -25,7 +25,6 @@ export interface IAdminSettings { instanceSlogan: string; instanceLongDescription: string; contact: string; - InstanceHomepageSorting: InstanceHomepageSorting; instanceTerms: string; instanceTermsType: InstanceTermsType; instanceTermsUrl: string | null; diff --git a/js/src/types/config.model.ts b/js/src/types/config.model.ts index 2ceeaa5a2..97544c2e5 100644 --- a/js/src/types/config.model.ts +++ b/js/src/types/config.model.ts @@ -1,9 +1,4 @@ -import { - InstancePrivacyType, - InstanceTermsType, - InstanceHomepageSorting, - RoutingType -} from "./enums"; +import { InstancePrivacyType, InstanceTermsType, RoutingType } from "./enums"; import type { IProvider } from "./resource"; export interface IOAuthProvider { @@ -84,7 +79,6 @@ export interface IConfig { provider: string; autocomplete: boolean; }; - instanceHomepageSorting: InstanceHomepageSorting; terms: { bodyHtml: string; type: InstanceTermsType; diff --git a/js/src/types/enums.ts b/js/src/types/enums.ts index 2d6f76781..1061d196b 100644 --- a/js/src/types/enums.ts +++ b/js/src/types/enums.ts @@ -1,9 +1,4 @@ /* eslint-disable no-unused-vars */ -export enum InstanceHomepageSorting { - DEFAULT = "DEFAULT", - UPCOMING = "UPCOMING", -} - export enum InstanceTermsType { DEFAULT = "DEFAULT", URL = "URL", diff --git a/js/src/views/Admin/Settings.vue b/js/src/views/Admin/Settings.vue index d938c89db..137e7907a 100644 --- a/js/src/views/Admin/Settings.vue +++ b/js/src/views/Admin/Settings.vue @@ -64,24 +64,6 @@
{{ $t("Registration is closed.") }}
-