rails_modal_manager 1.0.27 → 1.0.28

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e919b275fd361881663b301cd23661d0ac6bb593c2798eb2a77b0bb231e4f4c1
4
- data.tar.gz: 553fe6e5cc9235cd0c87997d07c630795893c235a79983416d8423d65a4f013d
3
+ metadata.gz: ebcb6d9bc5128b747b71ad201b2e9fad380dc7d788064b373ff8b320ea79c47e
4
+ data.tar.gz: fad2c3da1a425a4f565eafac8d22b3ae58393964494eff0ee5d854aee9a431aa
5
5
  SHA512:
6
- metadata.gz: 18794e80fb189d47781ba21e1a673499f459cabcc835509c97d87748d5ad16781634a2341796b3e14c45f6442a0af1643b80c0a534dbf3075696bf690a785396
7
- data.tar.gz: 2f26034a4577fba61a50ab77292203df2c2f4916f4b9dbe8b9879ea30e93baeae66b896dd75f23d73f9713e80cee0f8171fcb24dab7d50b93348a18b95891b84
6
+ metadata.gz: e319bb433378cc2eb60025c84f98c8fa47286334895e9b588b80c5cc5b0c6476c6cfe5b444261048c8fc736994ffd8f7b9d4c7ca24de4fa44a9570104fb69d2f
7
+ data.tar.gz: 1fd5038104cff012f5ba60f92cea95eea006e95b5c6f6ff8b592031ffcd586342a0a166c03cc000daa70301d4958dfeb4ef39f67815ba9cd32c4dc21bf0c106b
@@ -205,19 +205,14 @@ export default class extends Controller {
205
205
  return
206
206
  }
207
207
 
208
- // 서브메뉴가 있는 경우 forceReloadActive 호출하여 콘텐츠 새로고침
209
- const submenuId = item.dataset.submenuId
210
- if (submenuId) {
211
- this.triggerSubmenuReload(submenuId)
212
- }
213
-
214
- // 이벤트 발생
208
+ // 이벤트만 발생 (커스텀 컨트롤러에서 콘텐츠 로드 처리)
209
+ // triggerSubmenuReload는 호출하지 않음 - 중복 로드 방지
215
210
  this.dispatch('itemSelect', {
216
211
  detail: {
217
212
  modalId: this.modalIdValue,
218
213
  itemId: item.dataset.itemId,
219
214
  itemLabel: item.dataset.itemLabel,
220
- hasSubmenu: !!submenuId,
215
+ hasSubmenu: !!item.dataset.submenuId,
221
216
  isReselect: true,
222
217
  }
223
218
  })
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsModalManager
4
- VERSION = "1.0.27"
4
+ VERSION = "1.0.28"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_modal_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.27
4
+ version: 1.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - reshacs