File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
components/notion/sources/updated-page Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export default {
6060 Date . parse ( page . last_edited_time ) ,
6161 ) ;
6262 if ( count ++ < 25 ) {
63- this . emitEvent ( page , [ ] , true ) ;
63+ this . emitEvent ( page ) ;
6464 }
6565 }
6666 this . _setPropertyValues ( propertyValues ) ;
@@ -109,7 +109,7 @@ export default {
109109 ts,
110110 } ;
111111 } ,
112- emitEvent ( page , changes , isNewPage ) {
112+ emitEvent ( page , changes = [ ] , isNewPage = true ) {
113113 const meta = isNewPage
114114 ? this . generateMeta ( page , constants . summaries . PAGE_ADDED )
115115 : this . generateMeta ( page , constants . summaries . PAGE_UPDATED ) ;
@@ -165,6 +165,7 @@ export default {
165165 [ propertyName ] : currentValue ,
166166 } ;
167167 changes . push ( {
168+ property : propertyName ,
168169 previousValue,
169170 currentValue,
170171 } ) ;
@@ -177,6 +178,7 @@ export default {
177178 [ propertyName ] : currentValue ,
178179 } ;
179180 changes . push ( {
181+ property : propertyName ,
180182 previousValue,
181183 currentValue,
182184 } ) ;
You can’t perform that action at this time.
0 commit comments