Added Add New Variable
This commit is contained in:
parent
c7b3078557
commit
df8cbff32f
1 changed files with 11 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
import IconComponent from "../../components/genericIconComponent";
|
import IconComponent from "../../components/genericIconComponent";
|
||||||
import { Button } from "../../components/ui/button";
|
import { Button } from "../../components/ui/button";
|
||||||
|
|
||||||
|
import AddNewVariableButton from "../../components/addNewVariableButtonComponent/addNewVariableButton";
|
||||||
import ForwardedIconComponent from "../../components/genericIconComponent";
|
import ForwardedIconComponent from "../../components/genericIconComponent";
|
||||||
import TableComponent from "../../components/tableComponent";
|
import TableComponent from "../../components/tableComponent";
|
||||||
|
|
||||||
|
|
@ -11,7 +12,10 @@ export default function GlobalVariablesPage() {
|
||||||
<div className="flex w-full flex-col">
|
<div className="flex w-full flex-col">
|
||||||
<h2 className="flex items-center text-lg font-semibold tracking-tight">
|
<h2 className="flex items-center text-lg font-semibold tracking-tight">
|
||||||
Global Variables
|
Global Variables
|
||||||
<ForwardedIconComponent name="Globe" className="ml-2 w-5 h-5 text-primary" />
|
<ForwardedIconComponent
|
||||||
|
name="Globe"
|
||||||
|
className="ml-2 h-5 w-5 text-primary"
|
||||||
|
/>
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-sm text-muted-foreground">
|
<p className="text-sm text-muted-foreground">
|
||||||
Manage and assign global variables to default fields. You can add
|
Manage and assign global variables to default fields. You can add
|
||||||
|
|
@ -19,10 +23,12 @@ export default function GlobalVariablesPage() {
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex-shrink-0">
|
<div className="flex-shrink-0">
|
||||||
<Button data-testid="api-key-button-store" variant="primary">
|
<AddNewVariableButton>
|
||||||
<IconComponent name="Plus" className="mr-2 w-4" />
|
<Button data-testid="api-key-button-store" variant="primary">
|
||||||
Add New
|
<IconComponent name="Plus" className="mr-2 w-4" />
|
||||||
</Button>
|
Add New
|
||||||
|
</Button>
|
||||||
|
</AddNewVariableButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue