Skip to content

Commit acd4918

Browse files
committed
🐛 user change event should not fire on init
1 parent cb8cb2a commit acd4918

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Kirby 3 Section to display recently modified content pages",
44
"license": "MIT",
55
"type": "kirby-plugin",
6-
"version": "1.2.0",
6+
"version": "1.2.1",
77
"authors": [
88
{
99
"name": "Bruno Meilick",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/fields/RecentlyModified.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default {
5757
id: contentId.split('?')[0],
5858
})
5959
.then(response => {
60-
if (this.auser != response.auser) {
60+
if (this.auser !== undefined && this.auser !== response.auser) {
6161
this.hasUserChange = true
6262
}
6363
this.auser = response.auser

vendor/composer/installed.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php return array(
22
'root' => array(
3-
'pretty_version' => '1.2.0',
4-
'version' => '1.2.0.0',
3+
'pretty_version' => '1.2.1',
4+
'version' => '1.2.1.0',
55
'type' => 'kirby-plugin',
66
'install_path' => __DIR__ . '/../../',
77
'aliases' => array(),
@@ -11,8 +11,8 @@
1111
),
1212
'versions' => array(
1313
'bnomei/kirby3-recently-modified' => array(
14-
'pretty_version' => '1.2.0',
15-
'version' => '1.2.0.0',
14+
'pretty_version' => '1.2.1',
15+
'version' => '1.2.1.0',
1616
'type' => 'kirby-plugin',
1717
'install_path' => __DIR__ . '/../../',
1818
'aliases' => array(),

0 commit comments

Comments
 (0)