Fix Contact Modal and improve Debug Log window
This commit is contained in:
parent
5d051ae16a
commit
c369e44d8e
7 changed files with 22 additions and 15 deletions
|
@ -71,7 +71,7 @@ export const DebugLogWindow = ({
|
|||
const linesToShow = Math.ceil(Math.min(window.innerHeight, 2000) / 5);
|
||||
const value = fetchedLogText.split(/\n/g, linesToShow).join('\n');
|
||||
|
||||
setTextAreaValue(value);
|
||||
setTextAreaValue(`${value}\n\n\n${i18n('debugLogLogIsIncomplete')}`);
|
||||
setToastType(undefined);
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ export const DebugLogWindow = ({
|
|||
return () => {
|
||||
shouldCancel = true;
|
||||
};
|
||||
}, [fetchLogs]);
|
||||
}, [fetchLogs, i18n]);
|
||||
|
||||
const handleSubmit = async (ev: MouseEvent) => {
|
||||
ev.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue