mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
Merge pull request #7413 from artoscinote/ma_SCI_10546
Fix unsupported WOPI file button for inventory files [SCI-10546]
This commit is contained in:
commit
f31e0f365d
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="sn-open-locally-menu" @mouseenter="fetchLocalAppInfo">
|
<div class="sn-open-locally-menu" @mouseenter="fetchLocalAppInfo">
|
||||||
<div v-if="!canOpenLocally && (attachment.attributes.wopi && attachment.attributes.urls.edit_asset)">
|
<div v-if="(!canOpenLocally || disableLocalOpen) && (attachment.attributes.wopi && attachment.attributes.urls.edit_asset)">
|
||||||
<a :href="editWopiSupported ? attachment.attributes.urls.edit_asset : null" target="_blank"
|
<a :href="editWopiSupported ? attachment.attributes.urls.edit_asset : null" target="_blank"
|
||||||
class="block whitespace-nowrap rounded px-3 py-2.5 hover:!text-sn-blue hover:no-underline cursor-pointer hover:bg-sn-super-light-grey"
|
class="block whitespace-nowrap rounded px-3 py-2.5 hover:!text-sn-blue hover:no-underline cursor-pointer hover:bg-sn-super-light-grey"
|
||||||
:class="{ 'disabled': !editWopiSupported }"
|
:class="{ 'disabled': !editWopiSupported }"
|
||||||
|
|
Loading…
Reference in a new issue