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 { i18n } from "@/i18n";
|
||||||
import { definePageMetadata } from "@/scripts/page-metadata";
|
import { definePageMetadata } from "@/scripts/page-metadata";
|
||||||
import MkPushNotificationAllowButton from "@/components/MkPushNotificationAllowButton.vue";
|
import MkPushNotificationAllowButton from "@/components/MkPushNotificationAllowButton.vue";
|
||||||
|
import MagNotificationSettingsWindow from "@/components/MagNotificationSettingsWindow.vue";
|
||||||
import {
|
import {
|
||||||
magLegacyNotificationType,
|
magLegacyNotificationType,
|
||||||
magNotificationType,
|
magNotificationType,
|
||||||
|
@ -89,9 +90,9 @@ function configure() {
|
||||||
)
|
)
|
||||||
.includes(x)
|
.includes(x)
|
||||||
);
|
);
|
||||||
os.popup(
|
os.popup<typeof MagNotificationSettingsWindow>(
|
||||||
defineAsyncComponent(
|
defineAsyncComponent(
|
||||||
() => import("@/components/MkNotificationSettingWindow.vue")
|
() => import("@/components/MagNotificationSettingsWindow.vue")
|
||||||
),
|
),
|
||||||
{
|
{
|
||||||
includingTypes,
|
includingTypes,
|
||||||
|
|
|
@ -22,7 +22,7 @@ import { updateColumn } from "./deck-store";
|
||||||
import XNotifications from "@/components/MagNotifications.vue";
|
import XNotifications from "@/components/MagNotifications.vue";
|
||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
import MkNotificationSettingWindow from "@/components/MkNotificationSettingWindow.vue";
|
import MagNotificationSettingsWindow from "@/components/MagNotificationSettingsWindow.vue";
|
||||||
import { types } from "magnetar-common";
|
import { types } from "magnetar-common";
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
|
@ -39,9 +39,9 @@ const includingTypes = ref<types.NotificationType[] | undefined>(
|
||||||
);
|
);
|
||||||
|
|
||||||
function func(): void {
|
function func(): void {
|
||||||
os.popup<typeof MkNotificationSettingWindow>(
|
os.popup<typeof MagNotificationSettingsWindow>(
|
||||||
defineAsyncComponent(
|
defineAsyncComponent(
|
||||||
() => import("@/components/MkNotificationSettingWindow.vue")
|
() => import("@/components/MagNotificationSettingsWindow.vue")
|
||||||
),
|
),
|
||||||
{
|
{
|
||||||
includingTypes: props.column.includingTypes,
|
includingTypes: props.column.includingTypes,
|
||||||
|
|
|
@ -32,10 +32,10 @@ import { useWidgetPropsManager, Widget, WidgetComponentExpose } from "./widget";
|
||||||
import { GetFormResultType } from "@/scripts/form";
|
import { GetFormResultType } from "@/scripts/form";
|
||||||
import MkContainer from "@/components/MkContainer.vue";
|
import MkContainer from "@/components/MkContainer.vue";
|
||||||
import XNotifications from "@/components/MagNotifications.vue";
|
import XNotifications from "@/components/MagNotifications.vue";
|
||||||
import MkNotificationSettingWindow from "@/components/MkNotificationSettingWindow.vue";
|
|
||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
import { types } from "magnetar-common";
|
import { types } from "magnetar-common";
|
||||||
|
import MagNotificationSettingsWindow from "@/components/MagNotificationSettingsWindow.vue";
|
||||||
|
|
||||||
const name = "notifications";
|
const name = "notifications";
|
||||||
|
|
||||||
|
@ -72,8 +72,8 @@ const { widgetProps, configure, save } = useWidgetPropsManager(
|
||||||
|
|
||||||
const configureNotification = () => {
|
const configureNotification = () => {
|
||||||
os.popup(
|
os.popup(
|
||||||
defineAsyncComponent<typeof MkNotificationSettingWindow>(
|
defineAsyncComponent<typeof MagNotificationSettingsWindow>(
|
||||||
() => import("@/components/MkNotificationSettingWindow.vue")
|
() => import("@/components/MagNotificationSettingsWindow.vue")
|
||||||
),
|
),
|
||||||
{
|
{
|
||||||
includingTypes:
|
includingTypes:
|
||||||
|
|
Loading…
Reference in New Issue