Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated: empty state text message(#85zrnzfn5) #195

Merged
merged 2 commits into from
Feb 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"Missing SKUs": "Missing SKUs",
"New mapping": "New mapping",
"New version available, please update the app.": "New version available, please update the app.",
"No field mapping found. Please create new.": "No field mapping found. Please create new.",
"There are no saved CSV mappings to show. Create a new mapping from a file upload screen": "There are no saved CSV mappings to show. Create a new mapping from a file upload screen",
"No new file upload. Please try again": "No new file upload. Please try again",
"No results found": "No results found",
"No time zone found": "No time zone found",
Expand Down
6 changes: 3 additions & 3 deletions src/views/SavedMappings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
<ion-content>
<main>
<div class="empty-state" v-if="!areFieldMappingsAvailable">
<p>{{ $t("No field mapping found. Please create new.")}}</p>
<p>{{ $t("There are no saved CSV mappings to show. Create a new mapping from a file upload screen")}}</p>
</div>
<section v-else>
<ion-list>
<ion-list v-if="Object.keys(fieldMappings('PO')).length">
<ion-list-header>{{ $t("Purchase order") }}</ion-list-header>
<ion-item v-for="(mapping, index) in fieldMappings('PO')" :key="index" @click="viewMappingConfiguration(index, 'PO')" detail button>
<ion-label>{{ mapping.name }}</ion-label>
</ion-item>
</ion-list>
<ion-list>
<ion-list v-if="Object.keys(fieldMappings('RSTINV')).length">
<ion-list-header>{{ $t("Inventory") }}</ion-list-header>
<ion-item v-for="(mapping, index) in fieldMappings('RSTINV')" :key="index" @click="viewMappingConfiguration(index, 'RSTINV')" detail button>
<ion-label>{{ mapping.name }}</ion-label>
Expand Down