mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-07-24 13:02:21 +00:00
fix: add/edit lcr should have secondary text to explain the purpose of lcr (#247)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import { H1 } from "@jambonz/ui-kit";
|
||||
import { H1, M } from "@jambonz/ui-kit";
|
||||
|
||||
import { LcrForm } from "./form";
|
||||
|
||||
@@ -7,6 +7,12 @@ export const AddLcr = () => {
|
||||
return (
|
||||
<>
|
||||
<H1 className="h2">Add outbound call routes</H1>
|
||||
<section>
|
||||
<M>
|
||||
Outbound call routing is used to select a carrier when there are
|
||||
multiple carriers available.
|
||||
</M>
|
||||
</section>
|
||||
<LcrForm />
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import { H1 } from "@jambonz/ui-kit";
|
||||
import { H1, M } from "@jambonz/ui-kit";
|
||||
import LcrForm from "./form";
|
||||
import { useApiData } from "src/api";
|
||||
import { Lcr, LcrRoute } from "src/api/types";
|
||||
@@ -15,6 +15,12 @@ export const EditLcr = () => {
|
||||
return (
|
||||
<>
|
||||
<H1 className="h2">Edit outbound call routes</H1>
|
||||
<section>
|
||||
<M>
|
||||
Outbound call routing is used to select a carrier when there are
|
||||
multiple carriers available.
|
||||
</M>
|
||||
</section>
|
||||
<LcrForm
|
||||
lcrDataMap={{ data: lcrData, refetch: lcrRefect, error: lcrError }}
|
||||
lcrRouteDataMap={{
|
||||
|
||||
Reference in New Issue
Block a user