chore: cleanup
This commit is contained in:
@@ -242,7 +242,6 @@ const emit = defineEmits<{
|
|||||||
request: {
|
request: {
|
||||||
sharedRequestID: string | undefined
|
sharedRequestID: string | undefined
|
||||||
content: string | undefined
|
content: string | undefined
|
||||||
type: string | undefined
|
|
||||||
}
|
}
|
||||||
): void
|
): void
|
||||||
(e: "hide-modal"): void
|
(e: "hide-modal"): void
|
||||||
@@ -411,7 +410,6 @@ const copyContent = ({
|
|||||||
const copyContent = {
|
const copyContent = {
|
||||||
sharedRequestID: props.request?.id,
|
sharedRequestID: props.request?.id,
|
||||||
content,
|
content,
|
||||||
type: widget,
|
|
||||||
}
|
}
|
||||||
emit("copy-shared-request", copyContent)
|
emit("copy-shared-request", copyContent)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -144,7 +144,6 @@ const emit = defineEmits<{
|
|||||||
payload: {
|
payload: {
|
||||||
sharedRequestID: string | undefined
|
sharedRequestID: string | undefined
|
||||||
content: string | undefined
|
content: string | undefined
|
||||||
type: string | undefined
|
|
||||||
}
|
}
|
||||||
): void
|
): void
|
||||||
}>()
|
}>()
|
||||||
@@ -156,7 +155,6 @@ const createSharedRequest = () => {
|
|||||||
const copySharedRequest = (payload: {
|
const copySharedRequest = (payload: {
|
||||||
sharedRequestID: string | undefined
|
sharedRequestID: string | undefined
|
||||||
content: string | undefined
|
content: string | undefined
|
||||||
type: string | undefined
|
|
||||||
}) => {
|
}) => {
|
||||||
emit("copy-shared-request", payload)
|
emit("copy-shared-request", payload)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -297,6 +297,7 @@ const displayShareRequestModal = (show: boolean) => {
|
|||||||
showShareRequestModal.value = show
|
showShareRequestModal.value = show
|
||||||
step.value = 1
|
step.value = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
const displayCustomizeRequestModal = (
|
const displayCustomizeRequestModal = (
|
||||||
show: boolean,
|
show: boolean,
|
||||||
embedProperties?: string | null
|
embedProperties?: string | null
|
||||||
@@ -416,7 +417,6 @@ const customizeSharedRequest = (
|
|||||||
const copySharedRequest = (payload: {
|
const copySharedRequest = (payload: {
|
||||||
sharedRequestID: string | undefined
|
sharedRequestID: string | undefined
|
||||||
content: string | undefined
|
content: string | undefined
|
||||||
type: string | undefined
|
|
||||||
}) => {
|
}) => {
|
||||||
if (payload.content) {
|
if (payload.content) {
|
||||||
copyToClipboard(payload.content)
|
copyToClipboard(payload.content)
|
||||||
|
|||||||
Reference in New Issue
Block a user