1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-23 07:09:44 +02:00

chore: Generate separate file to store version

Closes #848
This commit is contained in:
Maksim Eltyshev 2024-08-13 22:26:44 +02:00
parent 0dff66abcf
commit ce5364ef91
7 changed files with 120 additions and 12 deletions

View file

@ -2,7 +2,7 @@ import React from 'react';
import { useTranslation } from 'react-i18next';
import { Image, Tab } from 'semantic-ui-react';
import Config from '../../constants/Config';
import version from '../../version';
import logo from '../../assets/images/logo.png';
@ -15,7 +15,7 @@ const AboutPane = React.memo(() => {
<Tab.Pane attached={false} className={styles.wrapper}>
<Image centered src={logo} size="large" />
<div className={styles.version}>
{t('common.version')} {Config.VERSION}
{t('common.version')} {version}
</div>
</Tab.Pane>
);