Add hint to generate mail button
This commit is contained in:
parent
2a94d2bb2f
commit
d26712886e
|
@ -58,7 +58,6 @@ const Sidebar = () => {
|
||||||
return setMarksOccurrence(false);
|
return setMarksOccurrence(false);
|
||||||
}, [counter, origin]);
|
}, [counter, origin]);
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
{/* <div id="selector">
|
{/* <div id="selector">
|
||||||
|
@ -93,7 +92,11 @@ const Sidebar = () => {
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
<button onClick={() => setStolenDataView(!stolenDataView)}>
|
{stolenDataView ? (
|
||||||
|
<Fragment>
|
||||||
|
<button
|
||||||
|
onClick={() => setStolenDataView(!stolenDataView)}
|
||||||
|
>
|
||||||
{/* {stolenDataView ? 'Options' : 'Data'}
|
{/* {stolenDataView ? 'Options' : 'Data'}
|
||||||
*/}
|
*/}
|
||||||
<SettingsIcon />
|
<SettingsIcon />
|
||||||
|
@ -125,6 +128,7 @@ const Sidebar = () => {
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
disabled={!marksOccurrence}
|
disabled={!marksOccurrence}
|
||||||
|
title={marksOccurrence ? 'Kliknij, aby wygenerować wiadomość': 'Zaznacz poniżej elementy, aby móc wygenerować wiadomość' }
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const params = [
|
const params = [
|
||||||
'height=' + screen.height,
|
'height=' + screen.height,
|
||||||
|
@ -139,8 +143,12 @@ const Sidebar = () => {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<MailIcon />
|
<MailIcon />
|
||||||
<span>Utwórz wiadomość dla administratora tej witryny</span>
|
<span>
|
||||||
|
Utwórz wiadomość dla administratora tej witryny
|
||||||
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
</Fragment>
|
||||||
|
) : null}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -165,7 +173,7 @@ const Sidebar = () => {
|
||||||
)}
|
)}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer>Footer marks → {JSON.stringify(marksOccurrence)}</footer>
|
{/* <footer>Footer marks → {JSON.stringify(marksOccurrence)}</footer> */}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user