chore: lint
This commit is contained in:
@@ -63,7 +63,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
skipTeamsFetching: true
|
skipTeamsFetching: true,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
subscriptions() {
|
subscriptions() {
|
||||||
@@ -85,14 +85,14 @@ export default {
|
|||||||
pollInterval: 10000,
|
pollInterval: 10000,
|
||||||
skip() {
|
skip() {
|
||||||
return this.skipTeamsFetching
|
return this.skipTeamsFetching
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onTeamSelectIntersect() {
|
onTeamSelectIntersect() {
|
||||||
// Load team data as soon as intersection
|
// Load team data as soon as intersection
|
||||||
this.$apollo.queries.myTeams.refetch()
|
this.$apollo.queries.myTeams.refetch()
|
||||||
this.skipTeamsFetching = false
|
this.skipTeamsFetching = false
|
||||||
},
|
},
|
||||||
updateCollectionsType(tabID) {
|
updateCollectionsType(tabID) {
|
||||||
this.$emit("update-collection-type", tabID)
|
this.$emit("update-collection-type", tabID)
|
||||||
|
|||||||
@@ -28,19 +28,6 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
|
||||||
.virtual-list {
|
|
||||||
max-height: calc(100vh - 270px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.clamb-3 {
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-line-clamp: 3;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
@apply overflow-hidden;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { fb } from "~/helpers/fb"
|
import { fb } from "~/helpers/fb"
|
||||||
|
|
||||||
@@ -60,3 +47,16 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
.virtual-list {
|
||||||
|
max-height: calc(100vh - 270px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.clamb-3 {
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 3;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
@apply overflow-hidden;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -13,8 +13,10 @@ import { GraphQLScalarType } from "graphql"
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
// eslint-disable-next-line vue/require-default-prop
|
||||||
gqlType: null,
|
gqlType: null,
|
||||||
// (typeName: string) => void
|
// (typeName: string) => void
|
||||||
|
// eslint-disable-next-line vue/require-default-prop
|
||||||
jumpTypeCallback: Function,
|
jumpTypeCallback: Function,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ describe("url-field", () => {
|
|||||||
// const wrapper = factory({
|
// const wrapper = factory({
|
||||||
// value: "https://hoppscotch.io/<<testa>>/<<testb>>",
|
// value: "https://hoppscotch.io/<<testa>>/<<testb>>",
|
||||||
// })
|
// })
|
||||||
//
|
//
|
||||||
// console.log(wrapper.html())
|
// console.log(wrapper.html())
|
||||||
|
|
||||||
// const highlights = wrapper.findAll(".VAR").wrappers
|
// const highlights = wrapper.findAll(".VAR").wrappers
|
||||||
|
|||||||
@@ -106,6 +106,7 @@ function parseVal() {
|
|||||||
case "Number":
|
case "Number":
|
||||||
case "Boolean":
|
case "Boolean":
|
||||||
case "Null":
|
case "Null":
|
||||||
|
// eslint-disable-next-line no-case-declarations
|
||||||
const token = curToken()
|
const token = curToken()
|
||||||
lex()
|
lex()
|
||||||
return token
|
return token
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Docs on event and context https://www.netlify.com/docs/functions/#the-handler-method
|
// Docs on event and context https://www.netlify.com/docs/functions/#the-handler-method
|
||||||
exports.handler = async (event, context) => {
|
exports.handler = (event) => {
|
||||||
switch (event.httpMethod) {
|
switch (event.httpMethod) {
|
||||||
case "GET":
|
case "GET":
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user