@burh/nuxt-core 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -780,6 +780,20 @@ export default {
780
780
  companyHistory() {
781
781
  let history = [];
782
782
 
783
+ let jobs = this.userData.user_applied_job.map(job => {
784
+ return {
785
+ id: job.id,
786
+ date: job.subscribe_at,
787
+ user: {
788
+ name: this.userData.name
789
+ },
790
+ job: {
791
+ name: job.job.title
792
+ },
793
+ text: `Se inscreveu na vaga ${job.job.title}`
794
+ };
795
+ });
796
+
783
797
  let tests = this.userData.tests.map(x => {
784
798
  let test = {
785
799
  id: x.id,
@@ -816,7 +830,7 @@ export default {
816
830
  text: 'Realizou um teste DISC'
817
831
  }));
818
832
 
819
- history = history.concat(tests, discs, courses);
833
+ history = history.concat(jobs, tests, discs, courses);
820
834
 
821
835
  return history;
822
836
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "private": false,