This commit is contained in:
parent
68a2d9675f
commit
5a3d7f9ef8
|
@ -58,10 +58,16 @@ function onModalClosed() {
|
||||||
function hide() {
|
function hide() {
|
||||||
manualShowing.value = false;
|
manualShowing.value = false;
|
||||||
hiding.value = true;
|
hiding.value = true;
|
||||||
|
|
||||||
|
// closeは呼ぶ必要がある
|
||||||
|
modal?.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
function close() {
|
function close() {
|
||||||
manualShowing.value = false;
|
manualShowing.value = false;
|
||||||
|
|
||||||
|
// closeは呼ぶ必要がある
|
||||||
|
modal?.close();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -418,7 +418,9 @@ export function getNoteMenu(props: {
|
||||||
|
|
||||||
const cleanup = () => {
|
const cleanup = () => {
|
||||||
if (_DEV_) console.log('note menu cleanup', cleanups);
|
if (_DEV_) console.log('note menu cleanup', cleanups);
|
||||||
cleanups.forEach(cleanup => cleanup());
|
for (const cl of cleanups) {
|
||||||
|
cl();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -330,7 +330,9 @@ export function getUserMenu(user: misskey.entities.UserDetailed, router: Router
|
||||||
|
|
||||||
const cleanup = () => {
|
const cleanup = () => {
|
||||||
if (_DEV_) console.log('user menu cleanup', cleanups);
|
if (_DEV_) console.log('user menu cleanup', cleanups);
|
||||||
cleanups.forEach(cleanup => cleanup());
|
for (const cl of cleanups) {
|
||||||
|
cl();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue