mirror of https://github.com/statping/statping
parent
f953eea1dd
commit
11538c38e3
|
@ -17,7 +17,7 @@ Steps to reproduce the behavior:
|
|||
### Expected behavior
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
### Screenshots
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
### Screenshots or Logs
|
||||
If applicable, add screenshots to help explain your problem. If you can, provide any logs from the latest `logs/statping.log` file.
|
||||
|
||||
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/statup-app/general) [![GitHub release](https://img.shields.io/github/release/hunterlong/statup.svg)](https://github.com/statping/statping/releases/latest) [![Build Status](https://travis-ci.com/hunterlong/statup.svg?branch=master)](https://travis-ci.com/hunterlong/statup)
|
||||
[![Slack](https://slack.statping.com/badge.svg)](https://slack.statping.com/) [![GitHub release](https://img.shields.io/github/release/hunterlong/statup.svg)](https://github.com/statping/statping/releases/latest) [![Build Status](https://travis-ci.com/hunterlong/statup.svg?branch=master)](https://travis-ci.com/hunterlong/statup)
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# 0.90.15
|
||||
- Fixed /dashboard authentication state to show admin tabs if your an admin. [Issue #438](https://github.com/statping/statping/issues/438)
|
||||
- Fixed Cache JS error on Dashboard
|
||||
|
||||
# 0.90.14
|
||||
- Updated SCSS compiling, and confirmed it works.
|
||||
- Added `$container-color` SCSS variable.
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
// Build All Binary Arch's
|
||||
//
|
||||
// To build Statping for Mac, Windows, Linux, and ARM devices, you can run xgo to build for all. xgo is an awesome
|
||||
// golang package that requires Docker. https://github.com/karalabe/xgo
|
||||
// docker pull karalabe/xgo-latest
|
||||
// golang package that requires Docker. https://github.com/crazy-max/xgo
|
||||
// docker pull crazy-max/xgo
|
||||
// build-all
|
||||
//
|
||||
// More info on: https://github.com/statping/statping
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<tr v-for="(cache, index) in cache">
|
||||
<td>{{cache.url}}</td>
|
||||
<td>{{cache.size}}</td>
|
||||
<td>{{expireTime(cache.expiration)}}</td>
|
||||
<td>{{ago(cache.expiration)}}</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
@ -36,9 +36,6 @@ export default {
|
|||
this.cache = await Api.cache()
|
||||
},
|
||||
methods: {
|
||||
expireTime(ex) {
|
||||
return this.toLocal(ex)
|
||||
},
|
||||
async clearCache() {
|
||||
await Api.clearCache()
|
||||
this.cache = []
|
||||
|
|
|
@ -63,7 +63,6 @@
|
|||
this.auth = Api.saveToken(this.username, auth.token, auth.admin)
|
||||
this.$store.dispatch('loadAdmin')
|
||||
this.$store.commit('setAdmin', auth.admin)
|
||||
window.console.log(auth)
|
||||
this.$router.push('/dashboard')
|
||||
}
|
||||
this.loading = false
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
}
|
||||
},
|
||||
async mounted() {
|
||||
|
||||
const core = await Api.core()
|
||||
this.$store.commit('setAdmin', core.admin)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.90.14
|
||||
0.90.15
|
Loading…
Reference in New Issue