dialogs: now in separated windows

This commit is contained in:
muerwre 2018-12-07 17:47:00 +07:00
parent 65e549a5af
commit 789a38a1d0
5 changed files with 17 additions and 10 deletions

View file

@ -12,8 +12,10 @@ export const AppInfoDialog = () => (
<div className="small gray">
версия{' '}
{(APP_INFO.VERSION || 1)}.
{(APP_INFO.CHANGELOG[APP_INFO.VERSION].length || 0)}
{(APP_INFO.CHANGELOG[APP_INFO.VERSION].length || 0)}.
{(APP_INFO.CHANGELOG[APP_INFO.VERSION][APP_INFO.CHANGELOG[APP_INFO.VERSION].length - 1].length - 1 || 0)}
</div>
<hr />
<div className="small app-info-list">
<div>
Исходный код:{' '}
@ -50,7 +52,7 @@ export const AppInfoDialog = () => (
<div className="app-info-release" key={release}>
<div className="app-info-number">{APP_INFO.CHANGELOG[version].length - y}.</div>
<div className="app-info-build">
{
{
APP_INFO.CHANGELOG[version][y].map((build, z) => (
<div className="app-info-change" key={build}>
<div className="app-info-number">{(z)}.</div>

View file

@ -19,9 +19,6 @@ export const UserMenu = ({ userLogout, openAppInfoDialog }: Props) => (
<div className="user-panel-item" onClick={openAppInfoDialog}>
О редакторе карт
</div>
<a className="user-panel-item" href="https://github.com/muerwre/orchidMap" target="_blank" rel="noopener noreferrer">
Проект на github
</a>
<div className="user-panel-item" onClick={userLogout}>
Выйти
</div>