From a28d5be34d91d930c3dd4ae51c2c2599aa39c514 Mon Sep 17 00:00:00 2001 From: ianmuchyri Date: Tue, 19 Mar 2024 12:23:11 +0300 Subject: [PATCH 1/2] remove creating a channel with a parent Signed-off-by: ianmuchyri --- ui/web/templates/channels.html | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/ui/web/templates/channels.html b/ui/web/templates/channels.html index 273b1e547..23da1c88b 100644 --- a/ui/web/templates/channels.html +++ b/ui/web/templates/channels.html @@ -57,24 +57,6 @@

Add Channel

/>
-
- - - -
Date: Tue, 19 Mar 2024 18:04:18 +0300 Subject: [PATCH 2/2] remove infinite scroll option for parent filter Signed-off-by: ianmuchyri --- ui/api/transport.go | 1 - ui/web/templates/channels.html | 7 ------- 2 files changed, 8 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 23da1c88b..0b851b936 100644 --- a/ui/web/templates/channels.html +++ b/ui/web/templates/channels.html @@ -262,13 +262,6 @@

Add Channels

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