We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a20e2 commit 0e8b789Copy full SHA for 0e8b789
site/static/compare.html
@@ -274,6 +274,7 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
274
</div>
275
<input type="checkbox" v-model="showRawData" style="margin-left: 20px;" />
276
277
+ <button @click="resetFilter">Reset filters</button>
278
279
</fieldset>
280
<p v-if="dataLoading && !data">Loading ...</p>
site/static/compare/script.js
@@ -282,6 +282,9 @@ const app = Vue.createApp({
282
283
return createUrlFromParams(createSearchParamsForMetric(metric, start, end));
284
},
285
+ resetFilter() {
286
+ this.filter = createDefaultFilter();
287
+ }
288
289
});
290
0 commit comments