Skip to content

Commit

Permalink
Merge pull request #128 from lcnetdev/bfp-273-retain-order-of-compone…
Browse files Browse the repository at this point in the history
…nts-on-ingest

Bfp 273 retain order of components on ingest
  • Loading branch information
thisismattmiller authored Nov 18, 2024
2 parents b4b0e54 + 460495e commit c746c21
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/panels/edit/fields/Literal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<div v-if="preferenceStore.returnValue('--b-edit-main-splitpane-edit-show-field-labels')" class="lookup-fake-input-label">{{structure.propertyLabel}}</div>
</template>
<form autocomplete="off" >
<template v-if="preferenceStore.returnValue('--b-edit-main-splitpane-editortcode-display-mode') == true">
<template v-if="preferenceStore.returnValue('--b-edit-main-splitpane-edit-shortcode-display-mode') == true">

<div class="bfcode-display-mode-holder">
<div class="bfcode-display-mode-holder-label" :title="structure.propertyLabel">{{profileStore.returnBfCodeLabel(structure)}}</div>
Expand Down
8 changes: 4 additions & 4 deletions src/lib/utils_parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,7 @@ const utilsParse = {
xml = this.sniffNoteType(xml)
}






let sucessfulProperties = []
let sucessfulElements = []
Expand Down Expand Up @@ -1585,7 +1583,9 @@ const utilsParse = {

let newKey = `${k}_${counter}`
let currentpos = profile.rt[pkey].ptOrder.indexOf(k)
profile.rt[pkey].ptOrder.splice(currentpos+1, 0, newKey);
let newpos = currentpos - 1
if (newpos <0){newpos=0}
profile.rt[pkey].ptOrder.splice(newpos, 0, newKey);
populateData.id = newKey
pt[newKey] = populateData

Expand Down
2 changes: 0 additions & 2 deletions src/stores/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ export const useConfigStore = defineStore('config', {
versionPatch: 11,




regionUrls: {

dev:{
Expand Down

0 comments on commit c746c21

Please sign in to comment.