Updated copy in Audit log

refs. https://github.com/TryGhost/Toolbox/issues/356

- the term 'products' was used in the Audit log list which was inconsistent with the rest of the UI ('tiers')
This commit is contained in:
Peter Zimon 2022-09-05 16:09:10 +02:00
parent 0e156d2d68
commit 5a83b77202

View File

@ -164,7 +164,9 @@ function getAction(ev) {
resourceType = 'API key';
} else if (resourceType === 'setting') {
resourceType = 'settings';
}
} else if (resourceType === 'product') {
resourceType = 'tier';
}
// Because a `page` and `post` both use the same model, we store the
// actual type in the context, so let's check if that exists