From 72bd62e11aaa64fe0fe01a34413183d729463a27 Mon Sep 17 00:00:00 2001 From: Ian Ngethe Muchiri <100555904+ianmuchyri@users.noreply.github.com> Date: Thu, 21 Mar 2024 17:35:18 +0300 Subject: [PATCH] MG-42 - Remove creation of a channel with a parent channel (#250) * remove creating a channel with a parent Signed-off-by: ianmuchyri * remove infinite scroll option for parent filter Signed-off-by: ianmuchyri --------- Signed-off-by: ianmuchyri --- ui/api/transport.go | 1 - ui/web/templates/channels.html | 25 ------------------------- 2 files changed, 26 deletions(-) diff --git a/ui/api/transport.go b/ui/api/transport.go index b666b3201..3d44ab812 100644 --- a/ui/api/transport.go +++ b/ui/api/transport.go @@ -1562,7 +1562,6 @@ func decodeChannelCreation(_ context.Context, r *http.Request) (interface{}, err Name: r.PostFormValue("name"), Description: r.PostFormValue("description"), Metadata: meta, - ParentID: r.PostFormValue("parentID"), } return createChannelReq{ diff --git a/ui/web/templates/channels.html b/ui/web/templates/channels.html index 273b1e547..0b851b936 100644 --- a/ui/web/templates/channels.html +++ b/ui/web/templates/channels.html @@ -57,24 +57,6 @@

Add Channel

/>
-
- - - -
Add Channels alertDiv: "alertBulkMessage", modal: channelsModal, }); - - fetchIndividualEntity({ - input: "parentFilter", - itemSelect: "infiniteScroll", - item: "channels", - pathPrefix: "{{ pathPrefix }}", - });