fix: tune tariffs folder

This commit is contained in:
3252a8
2026-05-11 22:12:19 +03:00
parent ed6b214b29
commit 116b0a5c08
13 changed files with 21 additions and 24 deletions
@@ -69,7 +69,7 @@
<header class="admin-card-head">
<div>
<h3>{at("tariffs_title", {}, "Каталог тарифов")}</h3>
<small>{tariffsPath || "config/tariffs.json"}</small>
<small>{tariffsPath || "data/tariffs.json"}</small>
</div>
<div class="admin-editor-section-actions">
<button type="button" class="admin-btn admin-btn-sm" on:click={tariffsStore.loadTariffs} disabled={tariffsLoading || tariffsSaving}>
@@ -93,7 +93,7 @@ export async function mockApi(path, options = {}, context = {}) {
if (path === "/admin/tariffs") {
return {
ok: true,
path: "config/tariffs.json",
path: "data/tariffs.json",
catalog: {
default_tariff: "standard",
topup_packages_default: { rub: [{ gb: 10, price: 99 }], stars: [] },