- Issue created by @tedbow
- First commit to issue fork.
follow to 🐛 Global AssetLibrary should render with its auto-saved state (if any) when rendered in the XB UI Active
$auto_saved_global_asset_library = NULL;
$auto_save = $this->autoSaveManager->getAutoSaveData($global_asset_library);
if (!$auto_save->isEmpty()) {
\assert($auto_save->data !== NULL);
$auto_saved_global_asset_library = $global_asset_library->forAutoSavePreview($auto_save->data);
}
So @wimleer suggested we create new function so we can do
$auto_saved_global_asset_library = $global_asset_library->loadAutoSave();
Add loadAutoSave
to XbAssetInterface
and XbAssetLibraryTrait
Active
0.0
Page builder
Enhances developer experience.