viewer: fix highres for nx

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/head
Varun Patil 2023-05-11 19:49:13 -07:00
parent e87ae9ffb7
commit 7a73902238
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ export default defineComponent({
// Get full image URL
const fullUrl = isvideo
? null
: this.isLocal
: photo.flag & this.c.FLAG_IS_LOCAL
? nativex.API.IMAGE_FULL(photo.fileid)
: API.IMAGE_DECODABLE(photo.fileid, photo.etag);
const fullLoadCond = this.config.full_res_always ? 'always' : this.config.full_res_on_zoom ? 'zoom' : 'never';