File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
components/notion/sources/updated-page Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -141,16 +141,17 @@ export default {
141141 const changes = [ ] ;
142142 let isNewPage = false ;
143143 let propertyHasChanged = false ;
144+
144145 newLastUpdatedTimestamp = Math . max (
145146 newLastUpdatedTimestamp ,
146147 Date . parse ( page . last_edited_time ) ,
147148 ) ;
148149
149- for ( const propertyName of propertiesToCheck ) {
150- if ( lastCheckedTimestamp > Date . parse ( page . last_edited_time ) ) {
151- break ;
152- }
150+ if ( lastCheckedTimestamp > Date . parse ( page . last_edited_time ) ) {
151+ break ;
152+ }
153153
154+ for ( const propertyName of propertiesToCheck ) {
154155 const previousValue = structuredClone ( propertyValues [ page . id ] ?. [ propertyName ] ) ;
155156 const currentValue = this . maybeRemoveFileSubItems ( page . properties [ propertyName ] ) ;
156157
You can’t perform that action at this time.
0 commit comments