File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ export default class extends Controller {
88 const clientId = event . detail . client_id
99 const element = document . getElementById ( clientId )
1010
11+ console . log ( 'list id' , this . folderId )
12+ console . log ( 'folder id' , folderId )
13+
1114 if ( element ) {
1215 if ( ( this . folderId && folderId ) && ( this . folderId !== folderId ) ) {
1316 element . remove ( )
Original file line number Diff line number Diff line change 1919
2020 < div class ="margin-top "
2121 data-target ="infinite-scroll.entries snippets-list.entries "
22- data-action ="scroll@window->infinite-scroll#scroll snippet-updated@window->snippets-list#update "
22+ data-action ="scroll@window->infinite-scroll#scroll snippet-created@window->infinite-scroll#add snippet- updated@window->snippets-list#update "
2323 >
2424 <%= render 'snippets/snippets' %>
2525 </ div >
Original file line number Diff line number Diff line change 1616
1717 < div class ="margin-top "
1818 data-target ="infinite-scroll.entries "
19- data-action ="scroll@window->infinite-scroll#scroll snippet -updated@window->snippets-list#update "
19+ data-action ="scroll@window->infinite-scroll#scroll ssnippet-created@window->infinite-scroll#add nippet -updated@window->snippets-list#update "
2020 >
2121 <%= render 'snippets/snippets' %>
2222 </ div >
You can’t perform that action at this time.
0 commit comments