forked from DebaucheryLibrarian/traxxx
Refactored alerts to use application code, added regex. Updated Jules Jordan for the Ass Factory relaunch.
This commit is contained in:
@@ -191,6 +191,10 @@ function curateAlert(alert) {
|
||||
curatedAlert.entity = curateEntity(alert.entity.entity || alert.entity);
|
||||
}
|
||||
|
||||
if (alert.entities) {
|
||||
curatedAlert.entities = alert.entities.map((entity) => curateEntity(entity.entity || entity));
|
||||
}
|
||||
|
||||
if (alert.stashes) {
|
||||
curatedAlert.stashes = alert.stashes.map((stash) => curateStash(stash.stash || stash));
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ function initUiActions(store, _router) {
|
||||
slug
|
||||
}
|
||||
}
|
||||
entity: alertsEntity {
|
||||
entities: alertsEntities {
|
||||
entity {
|
||||
id
|
||||
name
|
||||
@@ -90,6 +90,10 @@ function initUiActions(store, _router) {
|
||||
independent
|
||||
}
|
||||
}
|
||||
matches: alertsMatches {
|
||||
property
|
||||
expression
|
||||
}
|
||||
}
|
||||
}
|
||||
totalCount
|
||||
|
||||
@@ -85,12 +85,17 @@ function initUsersActions(store, _router) {
|
||||
slug
|
||||
}
|
||||
}
|
||||
matches: alertsMatches {
|
||||
id
|
||||
property
|
||||
expression
|
||||
}
|
||||
actors: alertsActors {
|
||||
actor {
|
||||
${actorFields}
|
||||
}
|
||||
}
|
||||
entity: alertsEntity {
|
||||
entities: alertsEntities {
|
||||
entity {
|
||||
id
|
||||
name
|
||||
|
||||
Reference in New Issue
Block a user