mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
This commit introduces a seperate `page_params` file for billing module since we only use certain page_params in billing module only that it does not make sense to include them in the main `page_params.ts`. Also introduced `zpage_billing_params` for proper testing new `page_params` in billing module.
12 lines
236 B
JavaScript
12 lines
236 B
JavaScript
"use strict";
|
|
|
|
exports.page_params = {};
|
|
|
|
exports.reset = () => {
|
|
for (const field in exports.page_params) {
|
|
if (Object.hasOwn(exports.page_params, field)) {
|
|
delete exports.page_params[field];
|
|
}
|
|
}
|
|
};
|