feat(riot-mui): now we can CTRL + click on catalog elements

This commit is contained in:
Joxit
2022-12-29 23:50:47 +01:00
parent 696aa39012
commit 228762c641
2 changed files with 7 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { router, getCurrentRoute } from '@riotjs/route';
import { getCurrentRoute } from '@riotjs/route';
import { encodeURI, decodeURI } from './utils';
function getQueryParams() {
@@ -64,9 +64,6 @@ export default {
taglist(image) {
return `${baseUrl({ page: null })}#!/taglist/${image}`;
},
goTaglist(image) {
router.push(`${baseUrl({ page: null })}#!/taglist/${image}`);
},
getTagListImage() {
return getCurrentRoute().replace(/^.*(#!)?\/?taglist\//, '');
},