-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0a6292
commit 47d3b15
Showing
5 changed files
with
311 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
<template> | ||
<va-card :title="$t('dashboard.currentVisitors')"> | ||
<line-map | ||
class="dashboard-map" | ||
:map-data="lineMapData" | ||
/> | ||
</va-card> | ||
</template> | ||
|
||
<script> | ||
import LineMap from '@/components/maps/line-maps/LineMap' | ||
import LineMapData from '@/data/maps/LineMapData' | ||
export default { | ||
name: 'dashboard-map', | ||
components: { | ||
LineMap, | ||
}, | ||
data () { | ||
return { | ||
lineMapData: LineMapData, | ||
} | ||
}, | ||
} | ||
</script> | ||
|
||
<style> | ||
.dashboard-map { | ||
height: 380px; | ||
} | ||
</style> | ||
<template> | ||
<va-card :title="$t('dashboard.currentVisitors')"> | ||
<line-map | ||
class="dashboard-map" | ||
:map-data="lineMapData" | ||
/> | ||
</va-card> | ||
</template> | ||
|
||
<script> | ||
import LineMap from '@/components/maps/line-maps/LineMap' | ||
import { getLineMapData } from '../../data/maps/LineMapData' | ||
export default { | ||
name: 'dashboard-map', | ||
components: { | ||
LineMap, | ||
}, | ||
computed: { | ||
lineMapData () { | ||
return getLineMapData(this.$themes) | ||
}, | ||
}, | ||
} | ||
</script> | ||
|
||
<style> | ||
.dashboard-map { | ||
height: 380px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.