mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Merged v5.57.3 into main
This commit is contained in:
commit
81ef2ade39
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ghost-admin",
|
||||
"version": "5.57.2",
|
||||
"version": "5.57.3",
|
||||
"description": "Ember.js admin client for Ghost",
|
||||
"author": "Ghost Foundation",
|
||||
"homepage": "http://ghost.org",
|
||||
|
@ -2,6 +2,7 @@ const {
|
||||
CollectionsService
|
||||
} = require('@tryghost/collections');
|
||||
const BookshelfCollectionsRepository = require('./BookshelfCollectionsRepository');
|
||||
const labs = require('../../../shared/labs');
|
||||
|
||||
let inited = false;
|
||||
class CollectionsServiceWrapper {
|
||||
@ -31,6 +32,9 @@ class CollectionsServiceWrapper {
|
||||
}
|
||||
|
||||
async init() {
|
||||
if (!labs.isSet('collections')) {
|
||||
return;
|
||||
}
|
||||
if (inited) {
|
||||
return;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ghost",
|
||||
"version": "5.57.2",
|
||||
"version": "5.57.3",
|
||||
"description": "The professional publishing platform",
|
||||
"author": "Ghost Foundation",
|
||||
"homepage": "https://ghost.org",
|
||||
|
Loading…
Reference in New Issue
Block a user