pretty updates :)

This commit is contained in:
Henrique Dias
2017-06-28 19:26:07 +01:00
parent 9adada3067
commit 7aa6a549f9
8 changed files with 71 additions and 80 deletions

View File

@@ -16,6 +16,8 @@
</template>
<script>
import page from '../page'
// Remove the last directory of an url
var removeLastDirectoryPartOf = function (url) {
var arr = url.split('/')
@@ -109,8 +111,7 @@ export default {
conn.onclose = (event) => {
this.$el.classList.remove('ongoing')
// TODO: if is listing!
// listing.reload()
page.reload()
}
return
@@ -132,6 +133,7 @@ export default {
conn.onclose = () => {
this.$el.classList.remove('ongoing')
page.reload()
}
}
}