Skip to content

Commit

Permalink
toggle disable after saving fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
yesil committed Nov 20, 2024
1 parent eef3527 commit 0b3f2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion studio/src/aem/aem-fragments.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class AemFragments extends LitElement {
async saveFragment() {
let fragment = await this.#aem.sites.cf.fragments.save(this.fragment);
if (!fragment) throw new Error('Failed to save fragment');
aemFragmentCache.get(fragment.id)?.refreshFrom(fragment);
aemFragmentCache.get(fragment.id)?.refreshFrom(fragment, true);
}

async copyFragment() {
Expand Down

0 comments on commit 0b3f2ef

Please sign in to comment.