Blame view

api/public/js/chunk-2d0e55df.3d7ea4b4.js.map 3.08 KB
fa297f23d   Chris Bellas   Added config fetc...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
  {"version":3,"sources":["webpack:///./src/pages/panel/components/mltd.vue?e9a7","webpack:///src/pages/panel/components/mltd.vue","webpack:///./src/pages/panel/components/mltd.vue?04f8","webpack:///./src/pages/panel/components/mltd.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticStyle","attrs","src","staticRenderFns","name","data","params","created","config","methods","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,CAAC,OAAS,SAAS,CAACF,EAAG,SAAS,CAACG,MAAM,CAAC,MAAQ,OAAO,OAAS,OAAO,IAAMP,EAAIQ,IAAI,YAAc,UACrNC,EAAkB,G,6CCQtB,GACEC,KAAM,OACNC,KAFF,WAGI,MAAO,CACLH,IAAK,GACLI,OAAQ,8BAGZC,QARF,WASIZ,KAAKa,UAEPC,QAAS,CACP,OADJ,WACA,yLAEA,mBAFA,gBAEA,EAFA,EAEA,KACA,6BAHA,mDAKA,gDALA,8DCrB4W,I,YCOxWC,EAAY,eACd,EACAjB,EACAU,GACA,EACA,KACA,WACA,MAIa,aAAAO,E","file":"js/chunk-2d0e55df.3d7ea4b4.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"height\":\"90vh\"}},[_c('iframe',{attrs:{\"width\":\"100%\",\"height\":\"100%\",\"src\":_vm.src,\"frameborder\":\"0\"}})])}
  var staticRenderFns = []
  
  export { render, staticRenderFns }","<template>
    <div style=\"height: 90vh\">
      <iframe width=\"100%\" height=\"100%\" :src=\"src\" frameborder=\"0\" />
    </div>
  </template>
  
  <script>
  import axios from 'axios'
  
  export default {
    name: 'MLTD',
    data () {
      return {
        src: '',
        params: '/d/dtCrgk6Wk/mltd?orgId=1'
      }
    },
    created () {
      this.config()
    },
    methods: {
      async config () {
        try {
          const { data } = await axios.get('/config')
          this.src = data.grafana_url + this.params
        } catch (e) {
          this.$toasted.error('Error fetching Grafana URL!')
        }
      }
    }
  }
  </script>
  
  <style scoped>
  
  </style>
  ","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./mltd.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./mltd.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./mltd.vue?vue&type=template&id=d5a5e0fc&scoped=true&\"
  import script from \"./mltd.vue?vue&type=script&lang=js&\"
  export * from \"./mltd.vue?vue&type=script&lang=js&\"
  
  
  /* normalize component */
  import normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"
  var component = normalizer(
    script,
    render,
    staticRenderFns,
    false,
    null,
    \"d5a5e0fc\",
    null
    
  )
  
  export default component.exports"],"sourceRoot":""}