pretty updates :)
This commit is contained in:
8 files changed
+71
-80
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<button title="Info" aria-label="Info" class="action" id="info">
|
||||
<i class="material-icons">info</i>
|
||||
<span>Info</span>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'info-button',
|
||||
data: function () {
|
||||
return window.info.page.data
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user