Skip to content

Commit

Permalink
Fixing bugs after testing and releasing new version
Browse files Browse the repository at this point in the history
  • Loading branch information
opengs committed Apr 17, 2022
1 parent da764b6 commit 77fd4a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shield",
"version": "0.0.31",
"version": "1.0.0",
"description": "Cyber security shield",
"productName": "UA Cyber SHIELD",
"author": "Mykola Zhyhallo <[email protected]>",
Expand Down
10 changes: 5 additions & 5 deletions src/pages/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</div>

<div class="row q-col-gutter-sm q-ma-xs q-mr-sm">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<!-- <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<q-card class="bg-grey-10">
<q-card-section class="bg-grey-10 text-white">
<div class="text-h6">{{ $t('dashboard.efficiency.header') }}</div>
Expand All @@ -60,8 +60,8 @@
<Efficiency />
</q-card-section>
</q-card>
</div>
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
</div> -->
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<q-card class="bg-grey-10 fit">
<q-card-section class="bg-grey-10 text-white">
<div class="text-h6">{{ $t('dashboard.requestsPerMinute.header') }}</div>
Expand All @@ -78,14 +78,14 @@
<script lang="ts">
import { defineComponent } from 'vue'
import Efficiency from '../components/dashboard/Efficiency.vue'
// import Efficiency from '../components/dashboard/Efficiency.vue'
import RequestsPerMinute from '../components/dashboard/RequestsPerMinute.vue'
export default defineComponent({
name: 'Dashboard',
components: {
Efficiency,
// Efficiency,
RequestsPerMinute
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/store/statistics/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export class ActionsPerMinuteLog {
public log: Array<{ timestamp: number, count: number }> = []

private MAX_LOG_SIZE = 60
private STATISTICS_DELAY = 10
private STATISTICS_DELAY = 60
private lastEntry: { timestamp: number, count: number }

constructor () {
Expand Down

0 comments on commit 77fd4a3

Please sign in to comment.