Skip to content

Commit

Permalink
Merge pull request #12 from ninoseki/update-message
Browse files Browse the repository at this point in the history
refactor: update information
  • Loading branch information
ninoseki committed Jul 1, 2020
2 parents 93f2202 + cb8dd45 commit cc4cce4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions frontend/src/views/Home.vue
Expand Up @@ -3,12 +3,7 @@
<div class="box">
<div class="upload-form">
<b-message type="is-info" class="content">
<VueMarkdown>
- EML(`.eml`) and MSG(`.msg`) formats are supported.
</VueMarkdown>
<VueMarkdown
>- This app doesn't store any information you enter.
</VueMarkdown>
<VueMarkdown v-bind:source="informationMessages" />
</b-message>
<b-field>
<b-upload v-model="emlFile" drag-drop expanded>
Expand Down Expand Up @@ -57,6 +52,12 @@ export default class Home extends Mixins<ErrorDialogMixin>(ErrorDialogMixin) {
private response: Response | undefined = undefined;
private hasResponse = false;
private informationMessages = [
"- EML(`.eml`) and MSG(`.msg`) formats are supported.",
" - The MSG file will be converted to the EML file before analyzing. The conversion might be lossy.",
"- This app doesn't store any information you enter.",
].join("\n");
async parse() {
const loadingComponent = this.$buefy.loading.open({
container: this.$el,
Expand Down

0 comments on commit cc4cce4

Please sign in to comment.