chore: converted import editor to LiveComponent
This commit is contained in:
@@ -418,8 +418,8 @@
|
||||
<% @current_tab.type == :chat -> %>
|
||||
<.live_component module={ChatEditor} id={"chat-editor-#{@current_tab.id}"} current_tab={@current_tab} offline_mode={@offline_mode} project_id={@projects.active_project_id} />
|
||||
|
||||
<% @current_tab.type == :import and @import_editor -> %>
|
||||
<ImportEditor.import_editor import_editor={@import_editor} />
|
||||
<% @current_tab.type == :import -> %>
|
||||
<.live_component module={ImportEditor} id={"import-editor-#{@current_tab.id}"} current_tab={@current_tab} offline_mode={@offline_mode} project_id={@projects.active_project_id} />
|
||||
|
||||
<% @current_tab.type in [:site_validation, :metadata_diff, :translation_validation, :find_duplicates, :git_diff] and @misc_editor -> %>
|
||||
<MiscEditor.misc_editor misc_editor={@misc_editor} />
|
||||
|
||||
Reference in New Issue
Block a user