diff --git a/web/src/elements/router/Route.ts b/web/src/elements/router/Route.ts index 2dcfba313..3a52b3559 100644 --- a/web/src/elements/router/Route.ts +++ b/web/src/elements/router/Route.ts @@ -1,7 +1,7 @@ import { html, TemplateResult } from "lit-html"; export const SLUG_REGEX = "[-a-zA-Z0-9_]+"; -export const ID_REGEX = "\d+"; +export const ID_REGEX = "\\d+"; export class Route { url: RegExp; diff --git a/web/src/pages/providers/ProviderListPage.ts b/web/src/pages/providers/ProviderListPage.ts index d70f24ecf..102b68e12 100644 --- a/web/src/pages/providers/ProviderListPage.ts +++ b/web/src/pages/providers/ProviderListPage.ts @@ -6,6 +6,7 @@ import { TablePage } from "../../elements/table/TablePage"; import "../../elements/buttons/ModalButton"; import "../../elements/buttons/SpinnerButton"; +import "../../elements/buttons/Dropdown"; import { TableColumn } from "../../elements/table/Table"; @customElement("ak-provider-list") @@ -58,13 +59,13 @@ export class ProviderListPage extends TablePage { html` - Edit + ${gettext("Edit")}
  - Delete + ${gettext("Delete")}
@@ -81,7 +82,7 @@ export class ProviderListPage extends TablePage {