[+] Load dimensions on init
This commit is contained in:
+1
-1
@@ -97,7 +97,7 @@ export default class App extends Vue
|
|||||||
if (a.format == null) a.format = config.artwork.default_format;
|
if (a.format == null) a.format = config.artwork.default_format;
|
||||||
|
|
||||||
// Add it
|
// Add it
|
||||||
this.artworks.push(new Artwork(a.date, a.title, a.format));
|
this.artworks.push(new Artwork(a.date, a.title, a.format).loadDimensions());
|
||||||
});
|
});
|
||||||
|
|
||||||
// Sort by date
|
// Sort by date
|
||||||
|
|||||||
Reference in New Issue
Block a user