Fix case
parent
eadd40ec6b
commit
b6e709b07b
|
@ -203,7 +203,7 @@ class ApiController extends Controller {
|
|||
return [
|
||||
"fileid" => $node->getId(),
|
||||
"name" => $node->getName(),
|
||||
"is_folder" => 1,
|
||||
"isfolder" => 1,
|
||||
"path" => $node->getPath(),
|
||||
];
|
||||
}, $sub, []),
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
:style="{ height: rowHeight + 'px' }">
|
||||
|
||||
<div class="photo" v-for="photo of item.photos" :key="photo.fileid">
|
||||
<Folder v-if="photo.is_folder"
|
||||
<Folder v-if="photo.isfolder"
|
||||
:data="photo" :rowHeight="rowHeight" />
|
||||
<Photo v-else
|
||||
:data="photo" :rowHeight="rowHeight" :day="item.day"
|
||||
|
|
|
@ -34,6 +34,8 @@ export type IPhoto = {
|
|||
isvideo?: boolean;
|
||||
/** Favorite flag from server */
|
||||
isfavorite?: boolean;
|
||||
/** Is this a folder */
|
||||
isfolder?: boolean;
|
||||
}
|
||||
|
||||
export interface IFolder extends IPhoto {
|
||||
|
|
Loading…
Reference in New Issue