Renamed the notification settings component to Mag
This commit is contained in:
parent
a169ebb004
commit
459f944243
|
@ -54,6 +54,7 @@ import { $i } from "@/account";
|
|||
import { i18n } from "@/i18n";
|
||||
import { definePageMetadata } from "@/scripts/page-metadata";
|
||||
import MkPushNotificationAllowButton from "@/components/MkPushNotificationAllowButton.vue";
|
||||
import MagNotificationSettingsWindow from "@/components/MagNotificationSettingsWindow.vue";
|
||||
import {
|
||||
magLegacyNotificationType,
|
||||
magNotificationType,
|
||||
|
@ -89,9 +90,9 @@ function configure() {
|
|||
)
|
||||
.includes(x)
|
||||
);
|
||||
os.popup(
|
||||
os.popup<typeof MagNotificationSettingsWindow>(
|
||||
defineAsyncComponent(
|
||||
() => import("@/components/MkNotificationSettingWindow.vue")
|
||||
() => import("@/components/MagNotificationSettingsWindow.vue")
|
||||
),
|
||||
{
|
||||
includingTypes,
|
||||
|
|
|
@ -22,7 +22,7 @@ import { updateColumn } from "./deck-store";
|
|||
import XNotifications from "@/components/MagNotifications.vue";
|
||||
import * as os from "@/os";
|
||||
import { i18n } from "@/i18n";
|
||||
import MkNotificationSettingWindow from "@/components/MkNotificationSettingWindow.vue";
|
||||
import MagNotificationSettingsWindow from "@/components/MagNotificationSettingsWindow.vue";
|
||||
import { types } from "magnetar-common";
|
||||
|
||||
const props = defineProps<{
|
||||
|
@ -39,9 +39,9 @@ const includingTypes = ref<types.NotificationType[] | undefined>(
|
|||
);
|
||||
|
||||
function func(): void {
|
||||
os.popup<typeof MkNotificationSettingWindow>(
|
||||
os.popup<typeof MagNotificationSettingsWindow>(
|
||||
defineAsyncComponent(
|
||||
() => import("@/components/MkNotificationSettingWindow.vue")
|
||||
() => import("@/components/MagNotificationSettingsWindow.vue")
|
||||
),
|
||||
{
|
||||
includingTypes: props.column.includingTypes,
|
||||
|
|
|
@ -32,10 +32,10 @@ import { useWidgetPropsManager, Widget, WidgetComponentExpose } from "./widget";
|
|||
import { GetFormResultType } from "@/scripts/form";
|
||||
import MkContainer from "@/components/MkContainer.vue";
|
||||
import XNotifications from "@/components/MagNotifications.vue";
|
||||
import MkNotificationSettingWindow from "@/components/MkNotificationSettingWindow.vue";
|
||||
import * as os from "@/os";
|
||||
import { i18n } from "@/i18n";
|
||||
import { types } from "magnetar-common";
|
||||
import MagNotificationSettingsWindow from "@/components/MagNotificationSettingsWindow.vue";
|
||||
|
||||
const name = "notifications";
|
||||
|
||||
|
@ -72,8 +72,8 @@ const { widgetProps, configure, save } = useWidgetPropsManager(
|
|||
|
||||
const configureNotification = () => {
|
||||
os.popup(
|
||||
defineAsyncComponent<typeof MkNotificationSettingWindow>(
|
||||
() => import("@/components/MkNotificationSettingWindow.vue")
|
||||
defineAsyncComponent<typeof MagNotificationSettingsWindow>(
|
||||
() => import("@/components/MagNotificationSettingsWindow.vue")
|
||||
),
|
||||
{
|
||||
includingTypes:
|
||||
|
|
Loading…
Reference in New Issue