mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Merge remote-tracking branch 'origin/dev' into dev
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
This commit is contained in:
commit
05f9a67727
4 changed files with 16 additions and 4 deletions
|
|
@ -15,7 +15,10 @@ export function CohortAddButton({ websiteId }: { websiteId: string }) {
|
||||||
<Text>{formatMessage(labels.cohort)}</Text>
|
<Text>{formatMessage(labels.cohort)}</Text>
|
||||||
</Button>
|
</Button>
|
||||||
<Modal>
|
<Modal>
|
||||||
<Dialog title={formatMessage(labels.cohort)} style={{ width: 800, minHeight: 300 }}>
|
<Dialog
|
||||||
|
title={formatMessage(labels.cohort)}
|
||||||
|
style={{ width: 800, minHeight: 300, maxHeight: '90vh' }}
|
||||||
|
>
|
||||||
{({ close }) => {
|
{({ close }) => {
|
||||||
return <CohortEditForm websiteId={websiteId} onClose={close} />;
|
return <CohortEditForm websiteId={websiteId} onClose={close} />;
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,10 @@ export function CohortEditButton({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ActionButton title={formatMessage(labels.edit)} icon={<Edit />}>
|
<ActionButton title={formatMessage(labels.edit)} icon={<Edit />}>
|
||||||
<Dialog title={formatMessage(labels.cohort)} style={{ width: 800, minHeight: 300 }}>
|
<Dialog
|
||||||
|
title={formatMessage(labels.cohort)}
|
||||||
|
style={{ width: 800, minHeight: 300, maxHeight: '90vh' }}
|
||||||
|
>
|
||||||
{({ close }) => {
|
{({ close }) => {
|
||||||
return (
|
return (
|
||||||
<CohortEditForm
|
<CohortEditForm
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,10 @@ export function SegmentAddButton({ websiteId }: { websiteId: string }) {
|
||||||
<Text>{formatMessage(labels.segment)}</Text>
|
<Text>{formatMessage(labels.segment)}</Text>
|
||||||
</Button>
|
</Button>
|
||||||
<Modal>
|
<Modal>
|
||||||
<Dialog title={formatMessage(labels.segment)} style={{ width: 800, minHeight: 300 }}>
|
<Dialog
|
||||||
|
title={formatMessage(labels.segment)}
|
||||||
|
style={{ width: 800, minHeight: 300, maxHeight: '90vh' }}
|
||||||
|
>
|
||||||
{({ close }) => {
|
{({ close }) => {
|
||||||
return <SegmentEditForm websiteId={websiteId} onClose={close} />;
|
return <SegmentEditForm websiteId={websiteId} onClose={close} />;
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,10 @@ export function SegmentEditButton({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ActionButton title={formatMessage(labels.edit)} icon={<Edit />}>
|
<ActionButton title={formatMessage(labels.edit)} icon={<Edit />}>
|
||||||
<Dialog title={formatMessage(labels.segment)} style={{ width: 800, minHeight: 300 }}>
|
<Dialog
|
||||||
|
title={formatMessage(labels.segment)}
|
||||||
|
style={{ width: 800, minHeight: 300, maxHeight: '90vh' }}
|
||||||
|
>
|
||||||
{({ close }) => {
|
{({ close }) => {
|
||||||
return (
|
return (
|
||||||
<SegmentEditForm
|
<SegmentEditForm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue