Merge origin/main and restore warehouse mapping
This commit is contained in:
commit
e6cf253a1f
@ -1793,8 +1793,11 @@
|
||||
const table = tableScope?.querySelector('.directory-table') || section?.querySelector('.directory-table');
|
||||
const search = tools.querySelector('[data-directory-search]');
|
||||
if (!table || !search) return;
|
||||
const shortNameSort = table.querySelector('[data-inventory-short-name-sort]');
|
||||
shortNameSort?.addEventListener('click', () => {
|
||||
table.addEventListener('click', (event) => {
|
||||
const shortNameSort = event.target instanceof Element
|
||||
? event.target.closest('[data-inventory-short-name-sort]')
|
||||
: null;
|
||||
if (!shortNameSort) return;
|
||||
const header = shortNameSort.closest('th');
|
||||
const ascending = header.getAttribute('aria-sort') !== 'ascending';
|
||||
const rows = [...table.tBodies[0].querySelectorAll('tr:not(.is-empty)')];
|
||||
|
||||
@ -430,7 +430,7 @@ try {
|
||||
}
|
||||
|
||||
if ($previousSha -and $previousShaExists) {
|
||||
$migrationChanges = git diff --name-only "$previousSha..$deploySha" -- `
|
||||
$migrationChanges = git diff --diff-filter=ACMRTUXB --name-only "$previousSha..$deploySha" -- `
|
||||
database/migrations `
|
||||
':(glob)modules/*/Database/Migrations/*.php'
|
||||
if ($migrationChanges -and -not $AllowMigrations) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user