fixes for anon view
This commit is contained in:
parent
5c92e91f98
commit
bd30ef5f81
3 changed files with 9 additions and 6 deletions
|
@ -102,6 +102,9 @@ export default {
|
||||||
disabled: this.button.interactive ? !this.button.interactive(this.funcArg) : false
|
disabled: this.button.interactive ? !this.button.interactive(this.funcArg) : false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
remoteInteractionLink () {
|
||||||
|
return this.$store.getters.remoteInteractionLink({ statusId: this.status.id })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -125,9 +128,6 @@ export default {
|
||||||
}, 500)
|
}, 500)
|
||||||
close()
|
close()
|
||||||
}
|
}
|
||||||
},
|
|
||||||
getRemoteInteractionLink () {
|
|
||||||
return this.$store.getters.remoteInteractionLink({ statusId: this.status.id })
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,14 +12,14 @@
|
||||||
target="_blank"
|
target="_blank"
|
||||||
:tabindex="0"
|
:tabindex="0"
|
||||||
:disabled="buttonClass.disabled"
|
:disabled="buttonClass.disabled"
|
||||||
:href="getComponent(button) == 'a' ? button.link?.(funcArg) || getRemoteInteractionLink : undefined"
|
:href="getComponent(button) == 'a' ? button.link?.(funcArg) || remoteInteractionLink : undefined"
|
||||||
@click="doActionWrap(button, close)"
|
@click="doActionWrap(button, close)"
|
||||||
>
|
>
|
||||||
<FALayers>
|
<FALayers>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
class="fa-scale-110"
|
class="fa-scale-110"
|
||||||
:icon="button.icon(funcArg)"
|
:icon="button.icon(funcArg)"
|
||||||
:spin="!extra && button.animated?.() && animationState"
|
:spin="!extra && getComponent(button) == 'button' && button.animated?.() && animationState"
|
||||||
:style="{ '--fa-animation-duration': '750ms' }"
|
:style="{ '--fa-animation-duration': '750ms' }"
|
||||||
fixed-width
|
fixed-width
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -55,7 +55,10 @@
|
||||||
class="dropdown-menu extra-action-buttons"
|
class="dropdown-menu extra-action-buttons"
|
||||||
role="menu"
|
role="menu"
|
||||||
>
|
>
|
||||||
<div class="menu-item dropdown-item extra-action -icon">
|
<div
|
||||||
|
v-if="currentUser"
|
||||||
|
class="menu-item dropdown-item extra-action -icon"
|
||||||
|
>
|
||||||
<button
|
<button
|
||||||
class="main-button"
|
class="main-button"
|
||||||
role="menuitem"
|
role="menuitem"
|
||||||
|
|
Loading…
Add table
Reference in a new issue