Skip to content

Commit

Permalink
Merge pull request #1783 from tboerger/ui-version
Browse files Browse the repository at this point in the history
feat: show version within menu on ui
  • Loading branch information
fiftin authored Mar 1, 2024
2 parents 60f3c72 + 0425d52 commit c596555
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
16 changes: 10 additions & 6 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
13 changes: 12 additions & 1 deletion web/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c596555

Please sign in to comment.