mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Added CURRENT_VERSION constant.
This commit is contained in:
parent
fb14514a65
commit
9b7e472410
4 changed files with 15 additions and 16 deletions
|
|
@ -1,11 +1,11 @@
|
|||
import create from 'zustand';
|
||||
import produce from 'immer';
|
||||
import semver from 'semver';
|
||||
import { VERSION_CHECK, UPDATES_URL } from 'lib/constants';
|
||||
import { CURRENT_VERSION, VERSION_CHECK, UPDATES_URL } from 'lib/constants';
|
||||
import { getItem } from 'lib/web';
|
||||
|
||||
const initialState = {
|
||||
current: process.env.currentVersion,
|
||||
current: CURRENT_VERSION,
|
||||
latest: null,
|
||||
hasUpdate: false,
|
||||
checked: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue