Assorted cleanup, minor bug fixes, styling fixes, eslint rules (#5165
* fix: Logic error in toast fix: Remove useless component * fix: Logout not clearing all stores * Add icons to notification settings * Add eslint rule to enforce spaced comment * Add eslint rule for arrow-body-style * Add eslint rule to enforce self-closing components * Add menu to api key settings Fix: Deleting webhook subscription does not remove from UI Split webhook subscriptions into active and inactive Styling updates
This commit is contained in:
@@ -6,8 +6,8 @@ import { User, Document, Collection, Team } from "@server/models";
|
||||
import onerror from "@server/onerror";
|
||||
import webService from "@server/services/web";
|
||||
|
||||
export const seed = async () => {
|
||||
return sequelize.transaction(async (transaction) => {
|
||||
export const seed = async () =>
|
||||
sequelize.transaction(async (transaction) => {
|
||||
const team = await Team.create(
|
||||
{
|
||||
name: "Team",
|
||||
@@ -97,7 +97,6 @@ export const seed = async () => {
|
||||
team,
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
export function getTestServer() {
|
||||
const app = webService();
|
||||
|
||||
Reference in New Issue
Block a user