Skip to content

Commit

Permalink
Apply prettier changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Oct 2, 2024
1 parent 67f913f commit 98040f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/UI/resources/js/Components/TableBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,11 @@ export default (

this.initColumnSelection()

if(this.container?.dataset?.lazy) {
if (this.container?.dataset?.lazy) {
const event = this.container?.dataset?.lazy
this.container.removeAttribute('data-lazy')

this.$nextTick(() => dispatchEvents(event, 'success', this))

}
},
add(force = false) {
Expand Down
4 changes: 2 additions & 2 deletions src/UI/resources/js/Request/Sets.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export function listComponentRequest(component, pushState = false) {
dispatchEvents(t.$root.dataset.events, 'success', t)
}

let tempElement = document.createElement('div');
tempElement.innerHTML = data;
let tempElement = document.createElement('div')
tempElement.innerHTML = data

t.$root.outerHTML = tempElement.firstElementChild.innerHTML
t.loading = false
Expand Down

0 comments on commit 98040f5

Please sign in to comment.