Fix Quality Issues using DeepSource (#1183)
Co-authored-by: DeepSource Bot <bot@deepsource.io>
This commit is contained in:
@@ -320,10 +320,10 @@ export default {
|
||||
return items
|
||||
},
|
||||
hasFolder(item) {
|
||||
return item.hasOwnProperty("item")
|
||||
return Object.prototype.hasOwnProperty.call(item, "item")
|
||||
},
|
||||
isSubFolder(item) {
|
||||
return item.hasOwnProperty("_postman_isSubFolder") && item._postman_isSubFolder
|
||||
return Object.prototype.hasOwnProperty.call(item, "_postman_isSubFolder") && item._postman_isSubFolder
|
||||
},
|
||||
flattenPostmanItem(subFolder, subFolderGlue = " -- ") {
|
||||
delete subFolder._postman_isSubFolder
|
||||
|
||||
@@ -38,6 +38,7 @@ export default {
|
||||
theme: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: null
|
||||
},
|
||||
onRunGQLQuery: {
|
||||
type: Function,
|
||||
|
||||
@@ -346,7 +346,7 @@ export default {
|
||||
mounted() {
|
||||
// Initializes the PWA code - checks if the app is installed,
|
||||
// etc.
|
||||
;(async () => {
|
||||
(async () => {
|
||||
this.showInstallPrompt = await intializePwa()
|
||||
let cookiesAllowed = localStorage.getItem("cookiesAllowed") === "yes"
|
||||
if (!cookiesAllowed) {
|
||||
|
||||
@@ -57,6 +57,7 @@ export default {
|
||||
},
|
||||
name: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
active: {
|
||||
type: Boolean,
|
||||
|
||||
@@ -35,6 +35,7 @@ export default {
|
||||
theme: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: null
|
||||
},
|
||||
lang: {
|
||||
type: String,
|
||||
|
||||
@@ -36,6 +36,7 @@ export default {
|
||||
theme: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: null,
|
||||
},
|
||||
options: {
|
||||
type: Object,
|
||||
|
||||
@@ -7,10 +7,11 @@
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
label: { type: String },
|
||||
icon: { type: String },
|
||||
label: { type: String, default: "" },
|
||||
icon: { type: String, default: "" },
|
||||
id: { required: true },
|
||||
selected: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
value: { type: String },
|
||||
value: { type: String, default: "" },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user