Skip to content

Commit c19343c

Browse files
author
ahmadhussnain
committed
Updated component FrontPage.vue
1 parent 866c3cc commit c19343c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

public/js/app.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,7 +2343,8 @@ __webpack_require__.r(__webpack_exports__);
23432343
data: function data() {
23442344
return {
23452345
categories: [],
2346-
products: [],
2346+
products: {},
2347+
// Products has object literal because we are depend upon third party Vue.js component
23472348
loading: true,
23482349
error: false
23492350
};
@@ -21361,7 +21362,9 @@ var staticRenderFns = [
2136121362
var _h = _vm.$createElement
2136221363
var _c = _vm._self._c || _h
2136321364
return _c("div", { staticClass: "text-center text-secondary" }, [
21364-
_c("h1", [_vm._v("Sorry, No records found!")])
21365+
_c("p", [
21366+
_vm._v("Sorry, No records found! Maybe database connection error.")
21367+
])
2136521368
])
2136621369
}
2136721370
]

public/mix-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"/js/app.js": "/js/app.js?id=fea10c95716ae2f53fd0",
2+
"/js/app.js": "/js/app.js?id=84a8944707ae014f4025",
33
"/css/app.css": "/css/app.css?id=aefe1876af1802310a0f"
44
}

resources/js/components/FrontPage.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<!-- If there is an Error please show -->
1515
<div class="loading-wrapper" v-if="error">
1616
<div class="text-center text-secondary">
17-
<h1>Sorry, No records found!</h1>
17+
<p>Sorry, No records found! Maybe database connection error.</p>
1818
</div>
1919
</div>
2020

@@ -79,7 +79,7 @@ export default {
7979
data: function(){
8080
return {
8181
categories: [],
82-
products: [],
82+
products: {}, // Products has object literal because we are depend upon third party Vue.js component
8383
loading: true,
8484
error: false
8585
}

0 commit comments

Comments
 (0)