зеркало из https://github.com/nextcloud/photos.git
hasPreview was undefined
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
This commit is contained in:
Родитель
127c4f498a
Коммит
3d4ee1b21d
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -1,4 +1,4 @@
|
|||
!function(e){function t(t){for(var n,s,o=t[0],i=t[1],a=0,u=[];a<o.length;a++)s=o[a],Object.prototype.hasOwnProperty.call(r,s)&&r[s]&&u.push(r[s][0]),r[s]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(c&&c(t);u.length;)u.shift()()}var n={},r={3:0};function s(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,s){n=r[e]=[t,s]}));t.push(n[2]=o);var i,a=document.createElement("script");a.charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.src=function(e){return s.p+"photos-"+({}[e]||e)+".js?v="+{0:"a11c0ceaddaf058ade96",1:"1932c34a33df715ca41e",2:"a3fb23830a12a8d355c0",4:"b1dfdd4cb2170112f4de",5:"25be17ef6a9603f625d0",6:"be9a7e8e3fefe50a038c",7:"ef15d0b3711547469424",8:"290d5650946925680e7c",9:"e6c1bbee57168d44b2ae",10:"ef5186a12dedd1869136"}[e]}(e);var c=new Error;i=function(t){a.onerror=a.onload=null,clearTimeout(u);var n=r[e];if(0!==n){if(n){var s=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+s+": "+o+")",c.name="ChunkLoadError",c.type=s,c.request=o,n[1](c)}r[e]=void 0}};var u=setTimeout((function(){i({type:"timeout",target:a})}),12e4);a.onerror=a.onload=i,document.head.appendChild(a)}return Promise.all(t)},s.m=e,s.c=n,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(n,r,function(t){return e[t]}.bind(null,r));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="/js/",s.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],i=o.push.bind(o);o.push=t,o=o.slice();for(var a=0;a<o.length;a++)t(o[a]);var c=i;s(s.s=220)}([function(e,t,n){"use strict";n.r(t),function(e,n){
|
||||
!function(e){function t(t){for(var n,s,o=t[0],i=t[1],a=0,u=[];a<o.length;a++)s=o[a],Object.prototype.hasOwnProperty.call(r,s)&&r[s]&&u.push(r[s][0]),r[s]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(c&&c(t);u.length;)u.shift()()}var n={},r={3:0};function s(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,s){n=r[e]=[t,s]}));t.push(n[2]=o);var i,a=document.createElement("script");a.charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.src=function(e){return s.p+"photos-"+({}[e]||e)+".js?v="+{0:"5b6d92cd9b2287373784",1:"1932c34a33df715ca41e",2:"a3fb23830a12a8d355c0",4:"b1dfdd4cb2170112f4de",5:"25be17ef6a9603f625d0",6:"be9a7e8e3fefe50a038c",7:"ef15d0b3711547469424",8:"290d5650946925680e7c",9:"e6c1bbee57168d44b2ae",10:"ef5186a12dedd1869136"}[e]}(e);var c=new Error;i=function(t){a.onerror=a.onload=null,clearTimeout(u);var n=r[e];if(0!==n){if(n){var s=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+s+": "+o+")",c.name="ChunkLoadError",c.type=s,c.request=o,n[1](c)}r[e]=void 0}};var u=setTimeout((function(){i({type:"timeout",target:a})}),12e4);a.onerror=a.onload=i,document.head.appendChild(a)}return Promise.all(t)},s.m=e,s.c=n,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(n,r,function(t){return e[t]}.bind(null,r));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="/js/",s.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],i=o.push.bind(o);o.push=t,o=o.slice();for(var a=0;a<o.length;a++)t(o[a]);var c=i;s(s.s=220)}([function(e,t,n){"use strict";n.r(t),function(e,n){
|
||||
/*!
|
||||
* Vue.js v2.6.12
|
||||
* (c) 2014-2020 Evan You
|
||||
|
@ -379,4 +379,4 @@ c.default.use(Dt.b);var jt=new Dt.a({modules:{files:Mt,folders:wt,systemtags:xt,
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/r.nc=btoa(Object(o.getRequestToken)()),r.p=Object(s.generateFilePath)("photos","","js/"),Object(i.sync)(jt,yt),c.default.prototype.t=a.translate,c.default.prototype.n=a.translatePlural,window.addEventListener("DOMContentLoaded",(function(){window.OCA.Files||(window.OCA.Files={}),Object.assign(window.OCA.Files,{App:{fileList:{filesClient:OC.Files.getClient()}}},window.OCA.Files)}));n.default=new c.default({el:"#content",name:"PhotosRoot",router:yt,store:jt,render:function(e){return e(b)}})}]);
|
||||
//# sourceMappingURL=photos-main.js.map?v=cb9d05ea9fd7e852b2d6
|
||||
//# sourceMappingURL=photos-main.js.map?v=8213879dae32cdb582b3
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -28,7 +28,7 @@
|
|||
:href="davPath"
|
||||
:aria-label="ariaLabel"
|
||||
@click.prevent="openViewer">
|
||||
<div v-if="item.injected.mime.includes('video') && hasPreview" class="icon-video-white" />
|
||||
<div v-if="item.injected.mime.includes('video') && item.injected.hasPreview" class="icon-video-white" />
|
||||
<!-- image and loading placeholder -->
|
||||
<transition-group name="fade" class="transition-group">
|
||||
<img
|
||||
|
|
Загрузка…
Ссылка в новой задаче