Merge branch 'dev' into feat-funnel-per-step-filters
This commit is contained in:
675 files changed
+42211
-143313
No files matched your search
@@ -16,15 +16,8 @@ export interface LookupFieldProps extends ComboBoxProps {
|
||||
onValueChange?: (value: string) => void;
|
||||
}
|
||||
|
||||
export function LookupField({
|
||||
websiteId,
|
||||
type,
|
||||
value,
|
||||
onChange,
|
||||
onValueChange,
|
||||
...props
|
||||
}: LookupFieldProps) {
|
||||
const { formatMessage, messages } = useMessages();
|
||||
export function LookupField({ websiteId, type, value, onChange, onValueChange, ...props }: LookupFieldProps) {
|
||||
const { t, messages } = useMessages();
|
||||
const [search, setSearch] = useState(value);
|
||||
const searchValue = useDebounce(search, 300);
|
||||
const startDate = subMonths(endOfDay(new Date()), 6);
|
||||
@@ -64,7 +57,7 @@ export function LookupField({
|
||||
isLoading ? (
|
||||
<Loading placement="center" icon="dots" />
|
||||
) : (
|
||||
<Empty message={formatMessage(messages.noResultsFound)} />
|
||||
<Empty message={t(messages.noResultsFound)} />
|
||||
)
|
||||
}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user