From 15938991d5d66edfaf2a0ad9f18399a79c531c3d Mon Sep 17 00:00:00 2001 From: Jamil Date: Fri, 28 Feb 2025 04:52:56 +0000 Subject: [PATCH] chore(portal): Remove NEW badge for DNS matching (#8259) Fixes #8099 --- elixir/apps/web/lib/web/live/resources/edit.ex | 14 -------------- elixir/apps/web/lib/web/live/resources/new.ex | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/elixir/apps/web/lib/web/live/resources/edit.ex b/elixir/apps/web/lib/web/live/resources/edit.ex index 55e429413..7cf39dfcc 100644 --- a/elixir/apps/web/lib/web/live/resources/edit.ex +++ b/elixir/apps/web/lib/web/live/resources/edit.ex @@ -150,22 +150,8 @@ defmodule Web.Resources.Edit do required /> -

String.codepoints() - |> Resources.map_resource_address() == :drop - } - class="flex items-center gap-2 text-sm leading-6 text-accent-600 mt-2 w-full" - > - <.icon name="hero-exclamation-triangle" class="w-4 h-4" /> - This is an advanced address format. This Resource will be available to Clients and Gateways v1.2.0 and higher only. -

- <.badge type="info" class="p-0 mr-2">NEW Wildcard matching is supported:
diff --git a/elixir/apps/web/lib/web/live/resources/new.ex b/elixir/apps/web/lib/web/live/resources/new.ex index 3a2d43656..fff024e70 100644 --- a/elixir/apps/web/lib/web/live/resources/new.ex +++ b/elixir/apps/web/lib/web/live/resources/new.ex @@ -135,22 +135,8 @@ defmodule Web.Resources.New do required /> -

String.codepoints() - |> Resources.map_resource_address() == :drop - } - class="flex items-center gap-2 text-sm leading-6 text-accent-600 mt-2 w-full" - > - <.icon name="hero-exclamation-triangle" class="w-4 h-4" /> - This is an advanced address format. This Resource will be available to Clients and Gateways v1.2.0 and higher only. -

- <.badge type="info" class="p-0 mr-2">NEW Wildcard matching is supported: