@tager/admin-blog 0.3.39 → 0.3.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -3728,7 +3728,7 @@ var script$1 = defineComponent({
3728
3728
  values.value.openGraphImage = image;
3729
3729
  }
3730
3730
  function handleTitleChange(value) {
3731
- if (urlAliasChanged.value === false) {
3731
+ if (isCreation.value && urlAliasChanged.value === false) {
3732
3732
  values.value.urlAlias = urlTranslit(value);
3733
3733
  }
3734
3734
  }
package/dist/index.umd.js CHANGED
@@ -3728,7 +3728,7 @@
3728
3728
  values.value.openGraphImage = image;
3729
3729
  }
3730
3730
  function handleTitleChange(value) {
3731
- if (urlAliasChanged.value === false) {
3731
+ if (isCreation.value && urlAliasChanged.value === false) {
3732
3732
  values.value.urlAlias = adminServices.urlTranslit(value);
3733
3733
  }
3734
3734
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tager/admin-blog",
3
- "version": "0.3.39",
3
+ "version": "0.3.40",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.esm.js",
@@ -518,7 +518,7 @@ export default defineComponent({
518
518
  }
519
519
 
520
520
  function handleTitleChange(value: string) {
521
- if (urlAliasChanged.value === false) {
521
+ if (isCreation.value && urlAliasChanged.value === false) {
522
522
  values.value.urlAlias = urlTranslit(value);
523
523
  }
524
524
  }