mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 23:39:56 +01:00
Merge pull request #1783 from tboerger/ui-version
feat: show version within menu on ui
This commit is contained in:
commit
c596555220
16
web/package-lock.json
generated
16
web/package-lock.json
generated
@ -4671,9 +4671,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/caniuse-lite": {
|
||||
"version": "1.0.30001358",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001358.tgz",
|
||||
"integrity": "sha512-hvp8PSRymk85R20bsDra7ZTCpSVGN/PAz9pSAjPSjKC+rNmnUk5vCRgJwiTT/O4feQ/yu/drvZYpKxxhbFuChw==",
|
||||
"version": "1.0.30001589",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001589.tgz",
|
||||
"integrity": "sha512-vNQWS6kI+q6sBlHbh71IIeC+sRwK2N3EDySc/updIGhIee2x5z00J4c1242/5/d6EpEMdOnk/m+6tuk4/tcsqg==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
@ -4683,6 +4683,10 @@
|
||||
{
|
||||
"type": "tidelift",
|
||||
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
||||
},
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -22091,9 +22095,9 @@
|
||||
}
|
||||
},
|
||||
"caniuse-lite": {
|
||||
"version": "1.0.30001358",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001358.tgz",
|
||||
"integrity": "sha512-hvp8PSRymk85R20bsDra7ZTCpSVGN/PAz9pSAjPSjKC+rNmnUk5vCRgJwiTT/O4feQ/yu/drvZYpKxxhbFuChw==",
|
||||
"version": "1.0.30001589",
|
||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001589.tgz",
|
||||
"integrity": "sha512-vNQWS6kI+q6sBlHbh71IIeC+sRwK2N3EDySc/updIGhIee2x5z00J4c1242/5/d6EpEMdOnk/m+6tuk4/tcsqg==",
|
||||
"dev": true
|
||||
},
|
||||
"case-sensitive-paths-webpack-plugin": {
|
||||
|
@ -15,8 +15,8 @@
|
||||
"core-js": "^3.23.2",
|
||||
"moment": "^2.29.3",
|
||||
"vue": "^2.6.14",
|
||||
"vue-i18n": "^8.18.2",
|
||||
"vue-codemirror": "^4.0.6",
|
||||
"vue-i18n": "^8.18.2",
|
||||
"vue-router": "^3.5.4",
|
||||
"vuedraggable": "^2.24.3",
|
||||
"vuetify": "^2.6.6"
|
||||
|
@ -341,6 +341,18 @@
|
||||
</template>
|
||||
|
||||
<v-list>
|
||||
<v-list-item key="version">
|
||||
<v-list-item-icon>
|
||||
<v-icon>mdi-information-variant</v-icon>
|
||||
</v-list-item-icon>
|
||||
|
||||
<v-list-item-content>
|
||||
{{ systemInfo.version }}
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
|
||||
<v-divider/>
|
||||
|
||||
<v-list-item key="users" to="/users" v-if="user.admin">
|
||||
<v-list-item-icon>
|
||||
<v-icon>mdi-account-multiple</v-icon>
|
||||
@ -1007,7 +1019,6 @@ export default {
|
||||
const reader = new FileReader();
|
||||
reader.onload = async (ev) => {
|
||||
const fileContent = ev.target.result;
|
||||
console.log(fileContent);
|
||||
try {
|
||||
await axios
|
||||
.post('/api/projects/restore', fileContent)
|
||||
|
Loading…
Reference in New Issue
Block a user