Merge branch 'develop'

This commit is contained in:
Nukeap committed 2024-11-11 14:58:42 +03:00
commit eb4e637741
3 files changed
+5 -4

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "front", "name": "front",
"version": "0.0.77", "version": "0.0.78",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "front", "name": "front",
"version": "0.0.77", "version": "0.0.78",
"dependencies": { "dependencies": {
"-": "^0.0.1", "-": "^0.0.1",
"@ckeditor/ckeditor5-build-classic": "^41.4.2", "@ckeditor/ckeditor5-build-classic": "^41.4.2",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "front", "name": "front",
"version": "0.0.77", "version": "0.0.78",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",
+2 -1
View File
@@ -157,11 +157,12 @@
<v-col cols="12" class="d-flex justify-center align-end pa-0"> <v-col cols="12" class="d-flex justify-center align-end pa-0">
<v-col v-if="admin_panel" justify="center" align="center" cols="6" class=" pa-0"> <v-col v-if="admin_panel" justify="center" align="center" cols="6" class=" pa-0">
<v-dialog> <v-dialog>
<template v-slot:activator="{ props: activatorProps }"> <template v-slot:activator="{ props: activatorProps }">
<v-btn v-bind="activatorProps " variant='plain' <v-btn v-bind="activatorProps " variant='plain'
class="procent_card_font pa-0"> class="procent_card_font pa-0">
{{ Math.round((voteresults.usersvotedbest.length*100/(mydepartment.length+1)).toFixed(2))}}% {{ Math.round((voteresults.usersvotedbest.filter(e=>e.department_user==mydepartment[0].department).length*100/(mydepartment.length+1)).toFixed(2))}}%
</v-btn> </v-btn>
</template> </template>
<template v-slot:default="{ isActive }"> <template v-slot:default="{ isActive }">