[fix] loaded without registering
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -20284,7 +20284,7 @@ function MailGatewaySection({ api }) {
|
|||||||
|
|
||||||
// src/client/index.ts
|
// src/client/index.ts
|
||||||
var name = "dsh-mail-sender";
|
var name = "dsh-mail-sender";
|
||||||
var inject = ["slots", "remote"];
|
var inject = ["slots", "remote", "remote.mail-gateway"];
|
||||||
async function apply(ctx) {
|
async function apply(ctx) {
|
||||||
const disposeRemote = await ctx.remote.$mount(remote_default);
|
const disposeRemote = await ctx.remote.$mount(remote_default);
|
||||||
const api = createApi(ctx);
|
const api = createApi(ctx);
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ import { createApi } from './api.js'
|
|||||||
import { MailGatewaySection } from './MailGatewaySection.js'
|
import { MailGatewaySection } from './MailGatewaySection.js'
|
||||||
|
|
||||||
export const name = 'dsh-mail-sender'
|
export const name = 'dsh-mail-sender'
|
||||||
export const inject = ['slots', 'remote']
|
export const inject = ['slots', 'remote', 'remote.mail-gateway']
|
||||||
|
|
||||||
/** 挂载本插件的 Remote 命名空间,并在设置页注册“邮件网关”分区。 */
|
/** 挂载本插件的 Remote 命名空间,并在设置页注册“邮件网关”分区。 */
|
||||||
export async function apply(ctx: Context): Promise<() => Promise<void>> {
|
export async function apply(ctx: Context): Promise<() => Promise<void>> {
|
||||||
|
|||||||
Reference in new issue
Block a user