mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
feat(sqllab): SPA migration (#25151)
This commit is contained in:
@@ -408,7 +408,7 @@ class SavedQuery(Model, AuditMixinNullable, ExtraJSONMixin, ImportExportMixin):
|
||||
def pop_tab_link(self) -> Markup:
|
||||
return Markup(
|
||||
f"""
|
||||
<a href="/superset/sqllab?savedQueryId={self.id}">
|
||||
<a href="/sqllab?savedQueryId={self.id}">
|
||||
<i class="fa fa-link"></i>
|
||||
</a>
|
||||
"""
|
||||
@@ -423,7 +423,7 @@ class SavedQuery(Model, AuditMixinNullable, ExtraJSONMixin, ImportExportMixin):
|
||||
return self.database.sqlalchemy_uri
|
||||
|
||||
def url(self) -> str:
|
||||
return f"/superset/sqllab?savedQueryId={self.id}"
|
||||
return f"/sqllab?savedQueryId={self.id}"
|
||||
|
||||
@property
|
||||
def sql_tables(self) -> list[Table]:
|
||||
|
||||
Reference in New Issue
Block a user