mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Merged v5.57.3 into main
This commit is contained in:
commit
81ef2ade39
3 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ghost-admin",
|
"name": "ghost-admin",
|
||||||
"version": "5.57.2",
|
"version": "5.57.3",
|
||||||
"description": "Ember.js admin client for Ghost",
|
"description": "Ember.js admin client for Ghost",
|
||||||
"author": "Ghost Foundation",
|
"author": "Ghost Foundation",
|
||||||
"homepage": "http://ghost.org",
|
"homepage": "http://ghost.org",
|
||||||
|
|
|
@ -2,6 +2,7 @@ const {
|
||||||
CollectionsService
|
CollectionsService
|
||||||
} = require('@tryghost/collections');
|
} = require('@tryghost/collections');
|
||||||
const BookshelfCollectionsRepository = require('./BookshelfCollectionsRepository');
|
const BookshelfCollectionsRepository = require('./BookshelfCollectionsRepository');
|
||||||
|
const labs = require('../../../shared/labs');
|
||||||
|
|
||||||
let inited = false;
|
let inited = false;
|
||||||
class CollectionsServiceWrapper {
|
class CollectionsServiceWrapper {
|
||||||
|
@ -31,6 +32,9 @@ class CollectionsServiceWrapper {
|
||||||
}
|
}
|
||||||
|
|
||||||
async init() {
|
async init() {
|
||||||
|
if (!labs.isSet('collections')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (inited) {
|
if (inited) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ghost",
|
"name": "ghost",
|
||||||
"version": "5.57.2",
|
"version": "5.57.3",
|
||||||
"description": "The professional publishing platform",
|
"description": "The professional publishing platform",
|
||||||
"author": "Ghost Foundation",
|
"author": "Ghost Foundation",
|
||||||
"homepage": "https://ghost.org",
|
"homepage": "https://ghost.org",
|
||||||
|
|
Loading…
Add table
Reference in a new issue